DXCollectionBase<T>.Count Property

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

Namespace: DevExpress.Utils

Assembly: DevExpress.Data.v20.1.dll

Declaration

public int Count { get; }
Public ReadOnly Property Count As Integer

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>.

Implements

System.Collections.Generic.ICollection<T>.Count
See Also