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


IObjects.Count Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (GeoDatabase)  

IObjects.Count Method

The number of objects in the array that belong to a specific class.

[Visual Basic .NET]
Public Function Count ( _
    ByVal classFilter As UID _
) As Integer
[C#]
public int Count (
    UID classFilter
);
[C++]
HRESULT Count(
  IUID* classFilter
);
[C++]

Parameters classFilter [in]
classFilter is a parameter of type IUID*

Product Availability

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

See Also

IObjects Interface