This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IE > IEnumVertex Interface > IEnumVertex.NextInPart Method (ArcObjects .NET 10.4 SDK) |
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
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.