UITechnologyManagerProxy.GetParent Method
Gets the parent 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 GetParent ( _
element As IUITechnologyElement _
) As IUITechnologyElement
public override IUITechnologyElement GetParent(
IUITechnologyElement element
)
public:
virtual IUITechnologyElement^ GetParent(
IUITechnologyElement^ element
) override
abstract GetParent :
element:IUITechnologyElement -> IUITechnologyElement
override GetParent :
element:IUITechnologyElement -> IUITechnologyElement
public override function GetParent(
element : IUITechnologyElement
) : IUITechnologyElement
Parameters
element
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElementThe element whose parent is needed.
Return Value
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
The parent element or null if the element passed is the root element in this technology.
Implements
IUITechnologyManager.GetParent(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.