DXCollectionBase<T>.Capacity Property

Gets or sets the number of elements that the DXCollectionBase<T> can contain.

Namespace: DevExpress.Utils

Assembly: DevExpress.Data.v20.1.dll

Declaration

[ComVisible(false)]
public int Capacity { get; set; }
<ComVisible(False)>
Public Property Capacity As Integer

Property Value

Type Description
Int32

An integer value representing the number of elements that the collection can contain.

Remarks

Capacity is the number of elements that the DXCollectionBase<T> can store. DXCollectionBase<T>.Count is the number of elements that are actually in the DXCollectionBase<T>.

See Also