Udostępnij za pośrednictwem


Właściwość QueryElement.Ancestor —

Zwraca lub ustawia element interfejsu użytkownika, który jest obiekt nadrzędny element tej kwerendy.

Przestrzeń nazw:  Microsoft.VisualStudio.TestTools.UITest.Extension
Zestaw:  Microsoft.VisualStudio.TestTools.UITest.Extension (w Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

Składnia

'Deklaracja
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)

Wartość właściwości

Typ: Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
Element nadrzędny.

Implementuje

IQueryElement.Ancestor

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

QueryElement Klasa

Przestrzeń nazw Microsoft.VisualStudio.TestTools.UITest.Extension

IUITechnologyElement