Partilhar via


Propriedade QueryElement.Ancestor

Obtém ou define o elemento de interface do usuário que é o ancestral deste elemento de consulta.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (em Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

Sintaxe

'Declaração
Public Property Ancestor As IUITechnologyElement
    Get
    Set
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)

Valor de propriedade

Tipo: Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
O elemento ancestral.

Implementações

IQueryElement.Ancestor

Segurança do .NET Framework

Consulte também

Referência

QueryElement Classe

Namespace Microsoft.VisualStudio.TestTools.UITest.Extension

IUITechnologyElement