IUITechnologyElement.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
Sub SetFocus
void SetFocus()
void SetFocus()
abstract SetFocus : unit -> unit
function 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.