Resizes the buffer to just fit the current number of items in the queue. The buffer size is never set to less than the default capacity, however.

Namespace: MonoSoftware.Core.Collections
Assembly: MonoSoftware.Core (in MonoSoftware.Core.dll) Version: 1.0.40.669 (1.0.40.669)

Syntax

C#
public void TrimToSize()
Visual Basic
Public Sub TrimToSize
Visual C++
public:
void TrimToSize()
F#
member TrimToSize : unit -> unit 

See Also