UITechnologyElement.SetFocus Method
Sets the UI focus on this element.
Namespace: Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly: Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
Syntax
'Declaration
Public MustOverride Sub SetFocus
public abstract void SetFocus()
public:
virtual void SetFocus() abstract
abstract SetFocus : unit -> unit
public abstract 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.