This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IP > IPointCollection Interface > IPointCollection.PointCount Property (ArcObjects .NET 10.4 SDK) |
The number of points in the collection.
[Visual Basic .NET] Public ReadOnly Property PointCount As Integer
[C#] public int PointCount {get;}
[C++]
HRESULT get_PointCount(
long* cPoints
);
[C++]
Parameters cPoints [out, retval] cPoints is a parameter of type long
Returns the number of Points in the PointCollection. The last Point in the PointCollection has an index equal to PointCount - 1.