Skip to main content

DXCollectionBase(Int32) Constructor

In This Article

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

Namespace: DevExpress.Utils

Assembly: DevExpress.Data.v24.2.dll

NuGet Package: DevExpress.Data

#Declaration

public DXCollectionBase(
    int capacity
)

#Parameters

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