Condividi tramite


CommandBarButtonClass.SetFocus Method

Sets the focus on the control.

Namespace:  Microsoft.VisualStudio.CommandBars
Assembly:  Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)

Syntax

'Dichiarazione
Public Overridable Sub SetFocus
'Utilizzo
Dim instance As CommandBarButtonClass

instance.SetFocus()
public virtual void SetFocus()
public:
virtual void SetFocus()
abstract SetFocus : unit -> unit 
override SetFocus : unit -> unit 
public function SetFocus()

Implements

_CommandBarButton.SetFocus()

.NET Framework Security

See Also

Reference

CommandBarButtonClass Class

CommandBarButtonClass Members

Microsoft.VisualStudio.CommandBars Namespace