Share via


_CommandBarButton.SetFocus Method

Sets the focus.

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

Syntax

'Declaration
Sub SetFocus
void SetFocus()
void SetFocus()
abstract SetFocus : unit -> unit
function SetFocus()

.NET Framework Security

See Also

Reference

_CommandBarButton Interface

Microsoft.VisualStudio.CommandBars Namespace