Skip to main content

DXCollectionBase(Int32) Constructor

Initializes a new instance of the DXCollectionBase<T> class with the specified capacity.

Namespace: DevExpress.Utils

Assembly: DevExpress.Data.v22.2.dll

NuGet Package: DevExpress.Data


public DXCollectionBase(
    int capacity


Name Type Description
capacity Int32

An integer value representing the number of elements that the collection can contain. This value is assigned to the DXCollectionBase<T>.Capacity property.

See Also