Skip to main content

DXCollectionBase<T>.Count Property

Gets the number of elements contained in the DXCollectionBase<T> instance.

Namespace: DevExpress.Utils

Assembly: DevExpress.Data.v23.2.dll

NuGet Package: DevExpress.Data

Declaration

public int Count { get; }

Property Value

Type Description
Int32

An integer value representing the number of elements contained in the collection.

Remarks

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

See Also