ArcObjects Library Reference (Geometry)  

IBufferProgress.OnOperationBegin Method

Called at the beginning of each buffer operation. For example, buffering a set of polygons and polylines, without dissolve, has two operations.

[Visual Basic .NET]
Public Function OnOperationBegin ( _
    ByVal currentOperation As Integer, _
    ByVal numOperations As Integer _
) As Boolean
[C#]
public bool OnOperationBegin (
    int currentOperation,
    int numOperations
);
[C++]
HRESULT OnOperationBegin(
  long currentOperation,
  long numOperations,
  VARIANT_BOOL* pbContinue
);
[C++]

Parameters

currentOperation   currentOperation is a parameter of type long numOperations   numOperations is a parameter of type long pbContinue [out, retval]   pbContinue is a parameter of type VARIANT_BOOL

Product Availability

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

Remarks

This method is called by the BufferConstruction object at the beginning of each buffering operation. Refer to IBufferProgress for an overview of progress reporting and definitions of the terms 'operation', 'stage' and 'step'. You can return true to indicate that buffering should continue or false to terminate the call to ConstructBuffers, ConstructBuffersByDistances, or ConstructBuffersByDistances2.

See Also

IBufferProgress Interface