Partilhar via


Método UITechnologyManagerProxy.GetPreviousSibling

Obtém o irmão anterior 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 GetPreviousSibling ( _
    element As IUITechnologyElement _
) As IUITechnologyElement
public override IUITechnologyElement GetPreviousSibling(
    IUITechnologyElement element
)
public:
virtual IUITechnologyElement^ GetPreviousSibling(
    IUITechnologyElement^ element
) override
abstract GetPreviousSibling : 
        element:IUITechnologyElement -> IUITechnologyElement 
override GetPreviousSibling : 
        element:IUITechnologyElement -> IUITechnologyElement 
public override function GetPreviousSibling(
    element : IUITechnologyElement
) : IUITechnologyElement

Parâmetros

Valor de retorno

Tipo: Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
O irmão o zero ou anterior se um não.

Implementações

IUITechnologyManager.GetPreviousSibling(IUITechnologyElement)

Segurança do .NET Framework

Consulte também

Referência

UITechnologyManagerProxy Classe

Namespace Microsoft.VisualStudio.TestTools.UITesting