PostSharp 2023.0 / / 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: 2023.0.3.0 (2023.0.3.0)
public bool Remove()

Return Value

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