ArcObjects Library Reference (SystemUI)  

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(
  long* Count
);
[C++]

Parameters

Count [out, retval]   Count is a parameter of type long

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