SilverlightTestPlugin.GetElementFromWindowHandle Method
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
This member overrides UITechnologyManager.GetElementFromWindowHandle(IntPtr).
Namespace: Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight
Assembly: Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight (in Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight.dll)
Syntax
'Declaration
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
Parameters
- handle
Type: System.IntPtr
Return Value
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
Returns IUITechnologyElement.
Implements
IUITechnologyManager.GetElementFromWindowHandle(IntPtr)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.TestTools.UITest.Extension.Silverlight Namespace