CommandBarsClass.OnUpdate Event
Handles the case when the set of command bars is updated. This event is deprecated.
Namespace: Microsoft.VisualStudio.CommandBars
Assembly: Microsoft.VisualStudio.CommandBars (in Microsoft.VisualStudio.CommandBars.dll)
Syntax
'Declaration
Public Overridable Event OnUpdate As _CommandBarsEvents_OnUpdateEventHandler
public virtual event _CommandBarsEvents_OnUpdateEventHandler OnUpdate
public:
virtual event _CommandBarsEvents_OnUpdateEventHandler^ OnUpdate {
void add (_CommandBarsEvents_OnUpdateEventHandler^ value);
void remove (_CommandBarsEvents_OnUpdateEventHandler^ value);
}
abstract OnUpdate : IEvent<_CommandBarsEvents_OnUpdateEventHandler,
EventArgs>
override OnUpdate : IEvent<_CommandBarsEvents_OnUpdateEventHandler,
EventArgs>
JScript does not support events.
Implements
_CommandBarsEvents_Event.OnUpdate
Remarks
Notes to Inheritors
The handler should throw a DeprecatedException when it is added (or removed).
.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.