This document is archived and information here might be outdated.  Recommended version.


ICommandPoolEdit.RemoveAll Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Controls)  

ICommandPoolEdit.RemoveAll Method

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
);

Product Availability

Available with ArcGIS Engine.

Description

Removes all of the commands from the CommandPool. The developer must ensure that any IToolbarItem objects using the commands are removed from the ToolbarControl.

See Also

ICommandPoolEdit Interface