Skip to main content
A newer version of this page is available. .

DXCollectionBase<T>.Count Property

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

Namespace: DevExpress.Utils

Assembly: DevExpress.Data.v19.2.dll

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