This document is archived and information here might be outdated. Recommended version. |
The number of geometries in this collection.
[Visual Basic .NET] Public ReadOnly Property GeometryCount As Integer
[C#] public int GeometryCount {get;}
[C++]
HRESULT get_GeometryCount(
System.Int32* cParts
);
[C++]
Parameters cParts [out, retval]
cParts is a parameter of type long*
Returns the number of Geometries in the GeometryCollection. The last Geometry in the GeometryCollection has an index equal to GeometryCount - 1.