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