Wintellect.PowerCollections Namespace
Algorithms Class
GhostDoc Pro Sample Help File

OrderedBag<(Of <(<'T>)>)>..::..Clear Method

Removes all items from the bag.

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

Syntax


public void Clear()
Public Sub Clear
public:
void Clear()

Remarks


Clearing the bag takes a constant amount of time, regardless of the number of items in it.