This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > SystemUI > ESRI.ArcGIS.SystemUI > Interfaces > IC > ICommandSubType Interface > ICommandSubType.GetCount Method (ArcObjects .NET 10.5 SDK) |
The number of commands defined with this CLSID.
[Visual Basic .NET] Public Function GetCount ( _ ) As Integer
[C#] public int GetCount ( );
[C++]
HRESULT GetCount(
long* Count
);
[C++]
Parameters Count [out, retval] Count is a parameter of type long
Decide how many Command objects you will be providing in the class, and return this value from GetCount.