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


ICommandPoolEdit.RemoveAll Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IC > ICommandPoolEdit Interface > ICommandPoolEdit.RemoveAll Method
ArcGIS Developer Help

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