Rectangle, constructeur
Initialise une nouvelle instance de la classe Rectangle à l'emplacement spécifié et la taille.
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 Sub New ( _
x As Integer, _
y As Integer, _
width As Integer, _
height As Integer _
)
public Rectangle(
int x,
int y,
int width,
int height
)
public:
Rectangle(
int x,
int y,
int width,
int height
)
new :
x:int *
y:int *
width:int *
height:int -> Rectangle
public function Rectangle(
x : int,
y : int,
width : int,
height : int
)
Paramètres
- x
Type : Int32
- y
Type : Int32
- width
Type : Int32
- height
Type : Int32
Sécurité .NET Framework
- Confiance totale accordée à l'appelant immédiat. Ce membre ne peut pas être utilisé par du code d'un niveau de confiance partiel. Pour plus d'informations, voir Utilisation de bibliothèques à partir de code d'un niveau de confiance partiel.
Voir aussi
Référence
Microsoft.VisualStudio.TestTools.UITest.Input, espace de noms