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