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


IEnumVertex.NextInPart Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IE > IEnumVertex Interface > IEnumVertex.NextInPart Method
ArcGIS Developer Help

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,
  System.Int32* 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