UITechnologyManager.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:
abstract Microsoft::VisualStudio::TestTools::UITest::Extension::IUITechnologyElement ^ GetParent(Microsoft::VisualStudio::TestTools::UITest::Extension::IUITechnologyElement ^ element);
public abstract Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement GetParent (Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement element);
abstract member GetParent : Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement -> Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
Public MustOverride Function GetParent (element As IUITechnologyElement) As IUITechnologyElement
Parameters
- element
- IUITechnologyElement
An IUITechnologyElement object.
Returns
The parent element.