Partager via


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

Voir aussi

Référence

Rectangle Structure

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