다음을 통해 공유


QueryElement.Ancestor 속성

이 쿼리 요소의 상위 요소인 UI 요소를 가져오거나 설정합니다.

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

구문

‘선언
Public Property Ancestor As IUITechnologyElement
public IUITechnologyElement Ancestor { get; set; }
public:
virtual property IUITechnologyElement^ Ancestor {
    IUITechnologyElement^ get () sealed;
    void set (IUITechnologyElement^ value) sealed;
}
abstract Ancestor : IUITechnologyElement with get, set 
override Ancestor : IUITechnologyElement with get, set
final function get Ancestor () : IUITechnologyElement 
final function set Ancestor (value : IUITechnologyElement)

속성 값

형식: Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
상위 요소입니다.

구현

IQueryElement.Ancestor

.NET Framework 보안

참고 항목

참조

QueryElement 클래스

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

IUITechnologyElement