Open sandboxFocus

Method AddRestorePoint

AddRestorePoint(string)

Adds new restore point with given name.

Declaration
public RestorePoint AddRestorePoint(string name = null)
Parameters
Type Name Description
string name

The name of the restore point, or null to create an unnamed restore point.

Returns
Type Description
RestorePoint

The newly created RestorePoint.

Remarks

A RestorePoint can be used as an argument to the UndoTo(Operation) or RedoTo(Operation) method.

To remove a RestorePoint from UndoOperations or RedoOperations, call the Remove() method.