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


IEnumGeometry.Count Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IE > IEnumGeometry Interface > IEnumGeometry.Count Property
ArcGIS Developer Help

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(
  System.Int32* 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