共用方式為


CommandBarControl.SetFocus Method

Sets the focus on the control.

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

Syntax

'宣告
Sub SetFocus
'用途
Dim instance As CommandBarControl

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

.NET Framework Security

See Also

Reference

CommandBarControl Interface

CommandBarControl Members

Microsoft.VisualStudio.CommandBars Namespace