Removes all items from the bag.
Namespace: X3Platform.CollectionsAssembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntaxpublic override sealed void Clear()
public:
virtual void Clear() override sealed
Implements
ICollectionTClear
RemarksClearing the bag takes a constant amount of time, regardless of the number of items in it.
See Also