OperationCollection.Trim Method (Int32) |
Trims the current collection to a given maximal number of operations.
Namespace: PostSharp.Patterns.Recording
Assembly: PostSharp.Patterns.Model (in PostSharp.Patterns.Model.dll) Version: 6.5.19.0 (6.5.19.0)
C#
public void Trim( int count )
Parameters
- count
- Type: System.Int32
The maximal number of operations to keep in the collection.
The UndoOperations collection is automatically trimmed to the value of MaximumOperationsCount property. |