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


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

IEnumVertex.NextInPart Method

Returns the next vertex in current part, or goes back to the first vertex in the part after last vertex in part is encountered.

[Visual Basic .NET]
Public Sub NextInPart ( _
    ByRef outVertex As IPoint, _
    ByRef OutVertexIndex As Integer _
)
[C#]
public void NextInPart (
    ref IPoint outVertex,
    ref int OutVertexIndex
);
[C++]
HRESULT NextInPart(
  IPoint** outVertex,
  long* OutVertexIndex
);
[C++]

Parameters outVertex [out]
outVertex is a parameter of type IPoint OutVertexIndex [out] OutVertexIndex is a parameter of type long

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

The NextInPart method returns the Next vertex in the current part only. If the Enumerator reaches the end of the current part it is reset to the start point of that part and returns the start point.

See Also

IEnumVertex Interface