UITechnologyElementProxy.SetFocus Method
Sets the focus on this element.
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
Public Overrides Sub SetFocus
public override void SetFocus()
public:
virtual void SetFocus() override
abstract SetFocus : unit -> unit
override SetFocus : unit -> unit
public override function SetFocus()
Implements
IUITechnologyElement.SetFocus()
.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.