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


ICommandPool.Count Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Controls)  

ICommandPool.Count Property

The number of commands in the command pool.

[Visual Basic .NET]
Public ReadOnly Property Count As Integer
[C#]
public int Count {get;}
[C++]
HRESULT get_Count(
  System.Int32* pVal
);
[C++]

Parameters pVal [out, retval]
pVal is a parameter of type long*

Product Availability

Available with ArcGIS Engine.

Description

Returns the number of commands in the CommandPool.

See Also

ICommandPool Interface

.NET Samples

Dynamic biking (Code Files: BikingTrackModeCmd DynamicBikingSpeedCmd) | Share a command pool between ToolbarControls (Code Files: ShareCommandPool)