Rectangle.Contains, méthode (Int32, Int32)

Détermine si le point specfied est contenu dans la zone rectangulaire définie par cette instance.

Espace de noms :  Microsoft.VisualStudio.TestTools.UITest.Input
Assembly :  Microsoft.VisualStudio.TestTools.UITest.Extension (dans Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

Syntaxe

'Déclaration
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

Paramètres

  • x
    Type : Int32
  • y
    Type : Int32

Valeur de retour

Type : Boolean

Sécurité .NET Framework

Voir aussi

Référence

Rectangle Structure

Contains, surcharge

Microsoft.VisualStudio.TestTools.UITest.Input, espace de noms