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


IGeometricBufferSourceSink.ReadNext Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IG > IGeometricBufferSourceSink Interface > IGeometricBufferSourceSink.ReadNext Method
ArcGIS Developer Help

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(
  System.Int32* geomID,
  IGeometry** nextGeometry,
  System.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