'Declaration
Public Overloads Function UndoEdit( _ ByVal snapshotID As Guid _ ) As Boolean
public bool UndoEdit( Guid snapshotID )
public: bool UndoEdit( Guid snapshotID )
Parameters
- snapshotID
- The snapshot ID returned by BeginEdit.
'Declaration
Public Overloads Function UndoEdit( _ ByVal snapshotID As Guid _ ) As Boolean
public bool UndoEdit( Guid snapshotID )
public: bool UndoEdit( Guid snapshotID )
This method reverts the changes only if the current snapshot matches the snapshotID. This method can be used instead of UndoEdit to guard against redundant calls to CommitEdit or UndoEdit.
Note: This method cannot be used to revert to an arbitrary undo snapshot. If the specified snapshot is not at the top of the snapshot stack, the method returns False and no changes are reverted.