Freigeben über


Rectangle.Contains-Methode (Int32, Int32)

Bestimmt, ob der angegebene Punkt innerhalb des rechteckigen Bereichs enthalten ist, der von dieser Instanz definiert wird.

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

Parameter

  • x
    Typ: Int32
  • y
    Typ: Int32

Rückgabewert

Typ: Boolean

.NET Framework-Sicherheit

Siehe auch

Referenz

Rectangle Struktur

Contains-Überladung

Microsoft.VisualStudio.TestTools.UITest.Input-Namespace