Gets the next 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 GetNextSibling ( _
    element As IUITechnologyElement _
) As IUITechnologyElement
public override IUITechnologyElement GetNextSibling(
    IUITechnologyElement element
)
public:
virtual IUITechnologyElement^ GetNextSibling(
    IUITechnologyElement^ element
) override
abstract GetNextSibling : 
        element:IUITechnologyElement -> IUITechnologyElement  
override GetNextSibling : 
        element:IUITechnologyElement -> IUITechnologyElement
public override function GetNextSibling(
    element : IUITechnologyElement
) : IUITechnologyElement
Parameters
- element 
 Type: Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement- The element whose next sibling is needed. 
Return Value
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
The next sibling or null if one is not present.
Implements
IUITechnologyManager.GetNextSibling(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.