共用方式為


_CommandBarButton.SetFocus Method

Sets the focus.

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

Syntax

'宣告
Sub SetFocus
void SetFocus()

.NET Framework Security

See Also

Reference

_CommandBarButton Interface

SetFocus Overload

Microsoft.VisualStudio.CommandBars Namespace