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


IEnumVertex.Previous Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Geometry)  

IEnumVertex.Previous Method

Returns the previous vertex and its location in the geometry.

[Visual Basic .NET]
Public Sub Previous ( _
    ByRef outVertex As IPoint, _
    ByRef outPartIndex As Integer, _
    ByRef vertexIndex As Integer _
)
[C#]
public void Previous (
    ref IPoint outVertex,
    ref int outPartIndex,
    ref int vertexIndex
);
[C++]
HRESULT Previous(
  IPoint** outVertex,
  long* outPartIndex,
  long* 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 Previous method returns the vertex before the current location of the Enumerator.

Remarks

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

See Also

IEnumVertex Interface