CommandBarsClass.add_OnUpdate Method
Adds the OnUpdate event handler.
Namespace: Microsoft.VisualStudio.CommandBars
Assembly: Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)
Syntax
'Declaration
Public Overridable Sub add_OnUpdate ( _
A_1 As _CommandBarsEvents_OnUpdateEventHandler _
)
public virtual void add_OnUpdate(
_CommandBarsEvents_OnUpdateEventHandler A_1
)
public:
virtual void add_OnUpdate(
_CommandBarsEvents_OnUpdateEventHandler^ A_1
)
abstract add_OnUpdate :
A_1:_CommandBarsEvents_OnUpdateEventHandler -> unit
override add_OnUpdate :
A_1:_CommandBarsEvents_OnUpdateEventHandler -> unit
public function add_OnUpdate(
A_1 : _CommandBarsEvents_OnUpdateEventHandler
)
Parameters
A_1
Type: Microsoft.VisualStudio.CommandBars._CommandBarsEvents_OnUpdateEventHandlerThe event handler.
Implements
_CommandBarsEvents_Event.add_OnUpdate(_CommandBarsEvents_OnUpdateEventHandler)
.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.