SilverlightTestPlugin.GetFocusedElement Method
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
This member overrides UITechnologyManager.GetFocusedElement(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 GetFocusedElement ( _
handle As IntPtr _
) As IUITechnologyElement
public override IUITechnologyElement GetFocusedElement(
IntPtr handle
)
public:
virtual IUITechnologyElement^ GetFocusedElement(
IntPtr handle
) override
abstract GetFocusedElement :
handle:IntPtr -> IUITechnologyElement
override GetFocusedElement :
handle:IntPtr -> IUITechnologyElement
public override function GetFocusedElement(
handle : IntPtr
) : IUITechnologyElement
Parameters
- handle
Type: System.IntPtr
Return Value
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
Returns IUITechnologyElement.
Implements
IUITechnologyManager.GetFocusedElement(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