This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IC > ICommandPoolEdit Interface > ICommandPoolEdit.RemoveAll Method (ArcObjects .NET 10.4 SDK) |
Removes all commands from the command pool, regardless of each commands usage count.
[Visual Basic .NET]
Public Sub RemoveAll ( _
)
[C#] public void RemoveAll ( );
[C++]
HRESULT RemoveAll(
void
);
Removes all of the commands from the CommandPool. The developer must ensure that any IToolbarItem objects using the commands are removed from the ToolbarControl.