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