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