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
- element 
 Type: Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement- The element whose previous sibling is needed. 
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.