Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Returns the coordinates of the rectangle that encloses this element.
Namespace: Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly: Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
Syntax
'Declaration
Sub GetBoundingRectangle ( _
<OutAttribute> ByRef left As Integer, _
<OutAttribute> ByRef top As Integer, _
<OutAttribute> ByRef width As Integer, _
<OutAttribute> ByRef height As Integer _
)
void GetBoundingRectangle(
out int left,
out int top,
out int width,
out int height
)
void GetBoundingRectangle(
[OutAttribute] int% left,
[OutAttribute] int% top,
[OutAttribute] int% width,
[OutAttribute] int% height
)
abstract GetBoundingRectangle :
left:int byref *
top:int byref *
width:int byref *
height:int byref -> unit
function GetBoundingRectangle(
left : int,
top : int,
width : int,
height : int
)
Parameters
left
Type: Int32%(Output) The relative x-coordinate of the rectangle.
top
Type: Int32%(Output) The relative y-coordinate of the rectangle.
width
Type: Int32%(Output) The width of the rectangle.
height
Type: Int32%(Output) The height of the rectangle.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.