Click or drag to resize

FifoQueueTClear Method

Removes all objects from the FifoQueue{T}.

Namespace:  DHI.Mike1D.Generic.Collections
Assembly:  DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
Remarks

Count is set to zero, and references to other objects from elements of the collection are also released.

The capacity remains unchanged. To reset the capacity of the FifoQueue{T}, call TrimExcess. Trimming an empty FifoQueue{T} sets the capacity of the FifoQueue{T} to the default capacity.

This method is an O(n) operation, where n is Count.

See Also