ArcObjects Library Reference (Geometry)  

IEnumGeometry.Count Property

The number of geometries in the enumeration.

[Visual Basic .NET]
Public ReadOnly Property Count As Integer
[C#]
public int Count {get;}
[C++]
HRESULT get_Count(
  long* GeometryCount
);
[C++]

Parameters

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

Product Availability

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

Description

Returns the number of distinct geometry parts in the enumeration.  This count is the same as the count returned by GeometryCount in a GeometryCollection.

See Also

IEnumGeometry Interface