CommandBarButtonClass.SetFocus Method
Sets the focus on the control.
Namespace: Microsoft.VisualStudio.CommandBars
Assembly: Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)
Syntax
'宣告
Public Overridable Sub SetFocus
'用途
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
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.