Stops tracking changes by the specified command and reverts all changes done so far.
Namespace: MindFusion.Spreadsheet
Assembly: MindFusion.Spreadsheet.WinForms
SyntaxC#
Copy Code
|
|---|
public void CancelChangeOperation ( |
Visual Basic
Copy Code
|
|---|
Public Sub CancelChangeOperation( _ |
The command to cancel.
RemarksThe usual scenario for cancelling a command is when an exception happens while the command is active. The code below illustrates this scenario.
C#
Copy Code
|
|---|
var command = workbook.StartChangeOperation(worksheet); |
Visual Basic
Copy Code
|
|---|
Dim command = workbook.StartChangeOperation(worksheet) |
Alternatively, the command can be cancelled by calling its Cancel method.
See Also