This document is archived and information here might be outdated. Recommended version. |
Removes this object from the commandbar.
[Visual Basic .NET]
Public Sub Delete ( _
)
[C#]
public void Delete (
);
When you delete a commanditem from a commandbar it is not deleted from the application; it is just removed from the commandbar. You can always add that command back to a commandbar.