Rectangle.Contains Method (Int32, Int32)
Determines if the specfied point is contained within the rectangular region defined by this instance.
Namespace: Microsoft.VisualStudio.TestTools.UITest.Input
Assembly: Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
Syntax
'Declaration
Public Function Contains ( _
x As Integer, _
y As Integer _
) As Boolean
public bool Contains(
int x,
int y
)
public:
bool Contains(
int x,
int y
)
member Contains :
x:int *
y:int -> bool
public function Contains(
x : int,
y : int
) : boolean
Parameters
- x
Type: Int32
- y
Type: Int32
Return Value
Type: Boolean
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.