Rectangle.Contains Method (Rectangle)
Determines if the rectangular region is entirely contained within the rectangular region represented 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 ( _
rect As Rectangle _
) As Boolean
public bool Contains(
Rectangle rect
)
public:
bool Contains(
Rectangle rect
)
member Contains :
rect:Rectangle -> bool
public function Contains(
rect : Rectangle
) : 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.