Rectangle.Contains Method (Point)
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 ( _
pt As Point _
) As Boolean
public bool Contains(
Point pt
)
public:
bool Contains(
Point pt
)
member Contains :
pt:Point -> bool
public function Contains(
pt : Point
) : boolean
Parameters
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.