UITechnologyManagerProxy.GetPreviousSibling Method

Gets the previous sibling of the given element in the user interface hierarchy.

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

Syntax

'Declaration
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

Parameters

Return Value

Type: Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
The previous sibling or null if one is not present.

Implements

IUITechnologyManager.GetPreviousSibling(IUITechnologyElement)

.NET Framework Security

See Also

Reference

UITechnologyManagerProxy Class

Microsoft.VisualStudio.TestTools.UITesting Namespace