PostSharp 6.5 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Recording Namespace / Restore­Point Class / Restore­Point Methods / Restore­Point.​Remove Method

RestorePoint.Remove Method

Removes the current RestorePoint from the UndoOperations or RedoOperations.

Namespace:  PostSharp.Patterns.Recording
Assembly:  PostSharp.Patterns.Model (in PostSharp.Patterns.Model.dll) Version: (
public bool Remove()

Return Value

Type: Boolean
true if the RestorePoint was removed, false if it was not present in these collections.
See Also