SilverlightTestPlugin.GetElementFromWindowHandle 方法

此 API 支持 .NET Framework 基础结构,不适合在代码中直接使用。

此成员重写 UITechnologyManager.GetElementFromWindowHandle(IntPtr)

命名空间:  Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight
程序集:  Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight(在 Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight.dll 中)

语法

声明
Public Overrides Function GetElementFromWindowHandle ( _
    handle As IntPtr _
) As IUITechnologyElement
public override IUITechnologyElement GetElementFromWindowHandle(
    IntPtr handle
)
public:
virtual IUITechnologyElement^ GetElementFromWindowHandle(
    IntPtr handle
) override
abstract GetElementFromWindowHandle : 
        handle:IntPtr -> IUITechnologyElement 
override GetElementFromWindowHandle : 
        handle:IntPtr -> IUITechnologyElement 
public override function GetElementFromWindowHandle(
    handle : IntPtr
) : IUITechnologyElement

参数

返回值

类型:Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
返回 IUITechnologyElement

实现

IUITechnologyManager.GetElementFromWindowHandle(IntPtr)

.NET Framework 安全性

请参见

参考

SilverlightTestPlugin 类

Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight 命名空间