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
- 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.