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


IEnumVertex.IsLastInPart Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IE > IEnumVertex Interface > IEnumVertex.IsLastInPart Method
ArcGIS Developer Help

IEnumVertex.IsLastInPart Method

Indicates if the current vertex is last in the current part.

[Visual Basic .NET]
Public Function IsLastInPart ( _
) As Boolean
[C#]
public bool IsLastInPart (
);
[C++]
HRESULT IsLastInPart(
void
);

Product Availability

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

Description

The IsLastInPart method returns whether or not the Enumerator is located on the last point of a given. For example for a polyline with 2 parts of 4 vertices each, the IsLastInPart method would return 'true' for PartIndex = 0 and VertexIndex = 4 and for PartIndex = 1 and VertexIndex = 4.

See Also

IEnumVertex Interface