This document is archived and information here might be outdated. Recommended version. |
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.