Cancels the associated operation.
[Visual Basic .NET]
Public Sub Cancel ( _
)
[C#] public void Cancel ( );
[C++]
HRESULT Cancel(
void
);
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Description
By default a cancel will occur under the following circumstances:
- The Esc key was pressed.
- The space bar was pressed. Use the CancelOnKeyPress property to disable this action.
- The left or right mouse button was pressed. Use the CancelOnClick property to disable this action.
Whether a cancel occurs will depend on when the key or button was pressed and the CheckTime property. For example, if a map redraw was cancelled by a key press then it is possible that some phases of the redraw will complete before the key press is handled.