| Visual Basic (Declaration) | |
|---|---|
Public Sub CancelEdit() | |
| C# | |
|---|---|
public void CancelEdit() | |
| Exception | Description |
|---|---|
| System.InvalidOperationException | When manually handling the edit process the BeginningEdit, CommittingEdit, and CancelingEdit events must all be handled. |
Supported Frameworks: Microsoft .NET Framework version 3.5