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
element
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElementAn IUITechnologyElement object.
Return Value
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
The parent element.
.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.
See Also
Reference
IUITechnologyManager Interface