Skip to main content
.NET 8.0+

XPBaseCollection.EvaluateDatastoreCount() Method

Specifies the number of elements that will be contained in the collection after loading it.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v24.2.dll

NuGet Package: DevExpress.Xpo

#Declaration

public int EvaluateDatastoreCount()

#Returns

Type Description
Int32

An integer value specifying the number of elements that will be contained in the collection after loading it.

#Remarks

Unlike reading the XPBaseCollection.Count property value, invoking the EvaluateDatastoreCount method does not populate the collection with objects from the datastore.

See Also