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


IEnumVertex.IsLastInPart Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Geometry)  

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(
  VARIANT_BOOL* IsLastInPart
);
[C++]

Parameters IsLastInPart [out, retval] IsLastInPart is a parameter of type VARIANT_BOOL

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