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


ICommandSubType.GetCount Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > SystemUI > ESRI.ArcGIS.SystemUI > Interfaces > IC > ICommandSubType Interface > ICommandSubType.GetCount Method
ArcGIS Developer Help

ICommandSubType.GetCount Method

The number of commands defined with this CLSID.

[Visual Basic .NET]
Public Function GetCount ( _
) As Integer
[C#]
public int GetCount (
);
[C++]
HRESULT GetCount(
void
);

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

Decide how many Command objects you will be providing in the class, and return this value from GetCount.

See Also

ICommandSubType Interface