![Collapse image](collapse_all.gif)
![Expand Image](expand_all.gif)
![CollapseAll image](collall.gif)
![ExpandAll image](expall.gif)
![DropDown image](drpdown.gif)
![DropDownHover image](drpdown_orange.gif)
![Copy image](copycode.gif)
![CopyHover image](copycodeHighlight.gif)
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Removes all items from the bag.
Namespace: Wintellect.PowerCollections
Assembly:
PowerCollections (in PowerCollections.dll)
Syntax
C# |
---|
public override sealed void Clear() |
Visual Basic (Declaration) |
---|
Public Overrides NotOverridable Sub Clear |
Visual C++ |
---|
public: virtual void Clear () override sealed |
Remarks
Clearing the bag takes a constant amount of time, regardless of the number of items in it.
See Also
OrderedBag<(Of <T>)> Class
Wintellect.PowerCollections Namespace