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

CollectionSourceBase.GetCount() Method

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

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v19.1.dll

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