Share via


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

See Also

Reference

IUITechnologyElement Interface

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace