This documentation is archived and is not being maintained.

IUITechnologyManager.GetPreviousSibling Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

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)

IUITechnologyElement GetPreviousSibling(
	IUITechnologyElement element
)

Return Value

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

Show: