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


IEnumSegment.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 > IEnumSegment Interface > IEnumSegment.IsLastInPart Method
ArcGIS Developer Help

IEnumSegment.IsLastInPart Method

Indicates if the current segment 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 'True' if the enumerator is located on the last segment of a given part. For example, if a polyline has 2 parts and 3 segments in each part, IsLastInPart would return 'true' when the enumerator is located at Part Index = 0 Segment Index = 2 and Part Index = 1 Segment Index = 2.

See Also

IEnumSegment Interface