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
Zabezpieczenia programu .NET Framework
- Pełne zaufanie do bezpośredniego wywołującego. Tego elementu członkowskiego nie można używać w kodzie częściowo zaufanym. Aby uzyskać więcej informacji, zobacz Używanie bibliotek pochodzących z częściowo zaufanego kodu.
Zobacz też
Informacje
Przestrzeń nazw Microsoft.VisualStudio.TestTools.UITest.Extension