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


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

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(
  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 '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

.NET Related Topics

How to use the IEnumSegment methods