System.Collections.CollectionBase Class

Provides the abstract base class for a strongly typed collection.

See Also: CollectionBase Members

Syntax

[System.Diagnostics.DebuggerDisplay("Count={Count}")]
[System.Diagnostics.DebuggerTypeProxy(typeof(System.Collections.CollectionDebuggerView))]
[System.Runtime.InteropServices.ComVisible(true)]
public abstract class CollectionBase : IList

Remarks

A CollectionBase instance is always modifiable. See ReadOnlyCollectionBase for a read-only version of this class.

The capacity of a CollectionBase is the number of elements the CollectionBase can hold. As elements are added to a CollectionBase, the capacity is automatically increased as required through reallocation. The capacity can be decreased by setting the CollectionBase.Capacity property explicitly.

Requirements

Namespace: System.Collections
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0