CommandBarsClass.OnUpdate Event
Gets a CommandBars collection. Read-only.
Namespace: Microsoft.Office.Core
Assembly: office (in office.dll)
Syntax
'Declaration
Public Overridable Event OnUpdate As _CommandBarsEvents_OnUpdateEventHandler
'Usage
Dim instance As CommandBarsClass
Dim handler As _CommandBarsEvents_OnUpdateEventHandler
AddHandler instance.OnUpdate, handler
public virtual event _CommandBarsEvents_OnUpdateEventHandler OnUpdate
Implements
_CommandBarsEvents_Event.OnUpdate
Examples
The following example return the CommandBars collection from the MsoEnvelope object in Microsoft Word.