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


IGeometricBufferSourceSink.ReadNext Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Geometry)  

IGeometricBufferSourceSink.ReadNext Method

Reads the next geometry (along with a client specified geometry id) and distance from the source - or returns a nil geometry when at the end.

[Visual Basic .NET]
Public Sub ReadNext ( _
    ByRef geomID As Integer, _
    ByRef nextGeometry As IGeometry, _
    ByRef pDistance As Double _
)
[C#]
public void ReadNext (
    ref int geomID,
    ref IGeometry nextGeometry,
    ref double pDistance
);
[C++]
HRESULT ReadNext(
  long* geomID,
  IGeometry** nextGeometry,
  double* pDistance
);
[C++]

Parameters geomID [out] geomID is a parameter of type long nextGeometry [out]
nextGeometry is a parameter of type IGeometry pDistance [out] pDistance is a parameter of type double

Product Availability

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

See Also

IGeometricBufferSourceSink Interface