Wintellect.PowerCollections Namespace
Algorithms Class
GhostDoc Pro Sample Help File

Deque<(Of <(<'T>)>)>..::..TrimToSize Method

Trims the amount of memory used by the Deque by changing the Capacity to be equal to Count. If no more items will be added to the Deque, calling TrimToSize will reduce the amount of memory used by the Deque.

Namespace:  Wintellect.PowerCollections
Assembly:  PowerCollections (in PowerCollections.dll)

Syntax


public void TrimToSize()
Public Sub TrimToSize
public:
void TrimToSize()