ArcObjects Library Reference (Geometry)  

IPointCollection.PointCount Property

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

Product Availability

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

Description

Returns the number of Points in the PointCollection.  The last Point in the PointCollection has an index equal to PointCount - 1.

See Also

IPointCollection Interface