Skip to main content
.NET Framework 4.6.2+

CollectionSourceBase.GetCount() Method

Returns the number of objects contained in the Collection Source’s CollectionSourceBase.Collection.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public virtual int GetCount()

Returns

Type Description
Int32

The number of objects that are contained in the current Collection Source’s collection.

Remarks

Use this property to count the objects in the Collection Source’s collection. When deriving from the CollectionSourceBase class, override this method to return the Collection Source’s count of objects.

See Also