Share via


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

See Also

Reference

Rectangle Structure

Contains Overload

Microsoft.VisualStudio.TestTools.UITest.Input Namespace