UITechnologyManager.GetElementFromWindowHandle(IntPtr) 方法

定义

检索由提供的窗口句柄标识的元素。

public:
 abstract Microsoft::VisualStudio::TestTools::UITest::Extension::IUITechnologyElement ^ GetElementFromWindowHandle(IntPtr handle);
public abstract Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement GetElementFromWindowHandle (IntPtr handle);
abstract member GetElementFromWindowHandle : nativeint -> Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
Public MustOverride Function GetElementFromWindowHandle (handle As IntPtr) As IUITechnologyElement

参数

handle
IntPtr

nativeint

IntPtr标识现有元素的。

返回

IUITechnologyElement

指定的元素。

实现

适用于