This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IE > IEnumVertex Interface > IEnumVertex.IsLastInPart Method (ArcObjects .NET 10.4 SDK) |
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(
VARIANT_BOOL* IsLastInPart
);
[C++]
Parameters IsLastInPart [out, retval] IsLastInPart is a parameter of type VARIANT_BOOL
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.