IUITechnologyManager.GetParent(IUITechnologyElement) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the parent of the given element in the UI hierarchy.
public:
Microsoft::VisualStudio::TestTools::UITest::Extension::IUITechnologyElement ^ GetParent(Microsoft::VisualStudio::TestTools::UITest::Extension::IUITechnologyElement ^ element);
[System.Runtime.InteropServices.DispId(8)]
public Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement GetParent (Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement element);
[<System.Runtime.InteropServices.DispId(8)>]
abstract member GetParent : Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement -> Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
Public Function GetParent (element As IUITechnologyElement) As IUITechnologyElement
Parameters
- element
- IUITechnologyElement
An IUITechnologyElement object.
Returns
The parent element.
- Attributes