Partager via


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

Implements

_CommandBarsEvents_Event.add_OnUpdate(_CommandBarsEvents_OnUpdateEventHandler)

.NET Framework Security

See Also

Reference

CommandBarsClass Class

Microsoft.VisualStudio.CommandBars Namespace