The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

CollectionSourceBase.GetCount() Method

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

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v19.2.dll

Declaration

public virtual int GetCount()
Public Overridable Function GetCount As Integer
public virtual int GetCount()
Public Overridable Function GetCount As Integer
public virtual int GetCount()
Public Overridable Function GetCount As Integer

Returns

Type Description
Int32

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

Returns

Type Description
Int32

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

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