Bagikan melalui


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

See Also

Reference

UITechnologyElement Class

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace