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


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

IEnumVertex2.WKSNext Method

Returns the next vertex as a WKS Point structure and its location in the geometry.

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

outVertex is a parameter of type WKSPoint* 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 WKSNext method returns the next vertex in the Enumerator as a WKSPoint structure instead of an IPoint object like the IEnumvertex::Next method does.

See Also

IEnumVertex2 Interface