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


IObjects.Count Method (ArcObjects .NET 10.4 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,
  long* Count
);
[C++]

Parameters classFilter [in]
classFilter is a parameter of type IUID Count [out, retval] Count is a parameter of type long

Product Availability

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

See Also

IObjects Interface