UITechnologyElement.GetBoundingRectangle 메서드

이 요소를 둘러싸는 사각형의 좌표를 반환합니다.

네임스페이스:  Microsoft.VisualStudio.TestTools.UITest.Extension
어셈블리:  Microsoft.VisualStudio.TestTools.UITest.Extension(Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

구문

‘선언
Public MustOverride Sub GetBoundingRectangle ( _
    <OutAttribute> ByRef left As Integer, _
    <OutAttribute> ByRef top As Integer, _
    <OutAttribute> ByRef width As Integer, _
    <OutAttribute> ByRef height As Integer _
)
public abstract void GetBoundingRectangle(
    out int left,
    out int top,
    out int width,
    out int height
)
public:
virtual void GetBoundingRectangle(
    [OutAttribute] int% left, 
    [OutAttribute] int% top, 
    [OutAttribute] int% width, 
    [OutAttribute] int% height
) abstract
abstract GetBoundingRectangle : 
        left:int byref * 
        top:int byref * 
        width:int byref * 
        height:int byref -> unit 
public abstract function GetBoundingRectangle(
    left : int, 
    top : int, 
    width : int, 
    height : int
)

매개 변수

  • left
    형식: System.Int32%
    (출력) 사각형의 상대 x 좌표입니다.
  • top
    형식: System.Int32%
    (출력) 사각형의 상대 y 좌표입니다.
  • width
    형식: System.Int32%
    (출력) 사각형의 너비입니다.
  • height
    형식: System.Int32%
    (출력) 사각형의 높이입니다.

구현

IUITechnologyElement.GetBoundingRectangle(Int32%, Int32%, Int32%, Int32%)

.NET Framework 보안

  • 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.

참고 항목

참조

UITechnologyElement 클래스

Microsoft.VisualStudio.TestTools.UITest.Extension 네임스페이스