You can create an object implementing the IMMCancelCallback interface, and pass this object into the SortWithCancel method. During the sorting process, you can call Stopped with a value of true and the sort will discontinue the sorting process.
It does not undo a sort that has already completed.
ArcFM, Designer, ArcFM Viewer, ArcFM Engine, ArcFM Engine Editor, or ArcFM Viewer for ArcGIS Engine
You can create an object implementing the IMMCancelCallback interface, and pass this object into the SortWithCancel method. During the sorting process, you can call Stopped with a value of true and the sort will discontinue the sorting process.
It does not undo a sort that has already completed.
Miner.Interop.ID8ListCancelSort