Share via


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

See Also

Reference

Rectangle Structure

Contains Overload

Microsoft.VisualStudio.TestTools.UITest.Input Namespace