UITechnologyManager.GetParent Method

Gets the parent 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 GetParent ( _
    element As IUITechnologyElement _
) As IUITechnologyElement
public abstract IUITechnologyElement GetParent(
    IUITechnologyElement element
)
public:
virtual IUITechnologyElement^ GetParent(
    IUITechnologyElement^ element
) abstract
abstract GetParent : 
        element:IUITechnologyElement -> IUITechnologyElement 
public abstract function GetParent(
    element : IUITechnologyElement
) : IUITechnologyElement

Parameters

Return Value

Type: Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
The parent element.

Implements

IUITechnologyManager.GetParent(IUITechnologyElement)

.NET Framework Security

See Also

Reference

UITechnologyManager Class

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace

IUITechnologyElement