Skip to main content
.NET 8.0+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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