IUITechnologyManager.GetParent Method

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

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
Function GetParent ( _
    element As IUITechnologyElement _
) As IUITechnologyElement
IUITechnologyElement GetParent(
    IUITechnologyElement element
)
IUITechnologyElement^ GetParent(
    IUITechnologyElement^ element
)
abstract GetParent : 
        element:IUITechnologyElement -> IUITechnologyElement 
function GetParent(
    element : IUITechnologyElement
) : IUITechnologyElement

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

IUITechnologyManager Interface

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace

IUITechnologyElement