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


IEnumVertex.Next 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.Next Method
ArcGIS Developer Help

IEnumVertex.Next Method

Returns the next vertex and its location within the geometry.

[Visual Basic .NET]
Public Sub Next ( _
    ByRef outVertex As IPoint, _
    ByRef outPartIndex As Integer, _
    ByRef vertexIndex As Integer _
)
[C#]
public void Next (
    ref IPoint outVertex,
    ref int outPartIndex,
    ref int vertexIndex
);
[C++]
HRESULT Next(
  IPoint** outVertex,
  System.Int32* outPartIndex,
  System.Int32* vertexIndex
);
[C++]
Parameters
outVertex [out]

outVertex is a parameter of type IPoint** outPartIndex [out]
outPartIndex is a parameter of type long* vertexIndex [out]
vertexIndex is a parameter of type long*

Product Availability

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

Description

The Next method returns the next vertex in the enumerator.

Remarks

See picture for a graphical explanation of some of the IEnumVertex methods.

See Also

IEnumVertex Interface