共用方式為


UITechnologyManager.GetParent(IUITechnologyElement) Method

Definition

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

Returns

The parent element.

Implements

Applies to