Partilhar via


Método UITechnologyManagerProxy.GetParent

Obtém o pai do elemento da hierarquia de interface do usuário.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (em Microsoft.VisualStudio.TestTools.UITesting.dll)

Sintaxe

'Declaração
Public Overrides Function GetParent ( _
    element As IUITechnologyElement _
) As IUITechnologyElement
public override IUITechnologyElement GetParent(
    IUITechnologyElement element
)
public:
virtual IUITechnologyElement^ GetParent(
    IUITechnologyElement^ element
) override
abstract GetParent : 
        element:IUITechnologyElement -> IUITechnologyElement 
override GetParent : 
        element:IUITechnologyElement -> IUITechnologyElement 
public override function GetParent(
    element : IUITechnologyElement
) : IUITechnologyElement

Parâmetros

Valor de retorno

Tipo: Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
O elemento pai ou o zero se o elemento é passado o elemento raiz em essa tecnologia.

Implementações

IUITechnologyManager.GetParent(IUITechnologyElement)

Segurança do .NET Framework

Consulte também

Referência

UITechnologyManagerProxy Classe

Namespace Microsoft.VisualStudio.TestTools.UITesting