Partager via


UITechnologyManager.GetPreviousSibling Method

Returns the previous sibling of the given element in the UI hierarchy.

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

Syntax

'Declaration
Public MustOverride Function GetPreviousSibling ( _
    element As IUITechnologyElement _
) As IUITechnologyElement
public abstract IUITechnologyElement GetPreviousSibling(
    IUITechnologyElement element
)
public:
virtual IUITechnologyElement^ GetPreviousSibling(
    IUITechnologyElement^ element
) abstract
abstract GetPreviousSibling : 
        element:IUITechnologyElement -> IUITechnologyElement
public abstract function GetPreviousSibling(
    element : IUITechnologyElement
) : IUITechnologyElement

Parameters

Return Value

Type: Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
The previous sibling element.

Implements

IUITechnologyManager.GetPreviousSibling(IUITechnologyElement)

.NET Framework Security

See Also

Reference

UITechnologyManager Class

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace

IUITechnologyElement