Share via


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

See Also

Reference

UITechnologyElementProxy Class

Microsoft.VisualStudio.TestTools.UITesting Namespace