UITechnologyManager.GetParent(IUITechnologyElement) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取 UI 层次结构中给定元素的父元素。
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
参数
- element
- IUITechnologyElement
一个 IUITechnologyElement 对象。
返回
父元素。