Skip to main content
All docs
V23.2
.NET 6.0+

CompositeObjectSpace.GetObjectsCount(Type, CriteriaOperator) Method

Returns the number of objects that satisfy the specified criteria.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v23.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public override int GetObjectsCount(
    Type objectType,
    CriteriaOperator criteria
)

Parameters

Name Type Description
objectType Type

A Type object that identifies the type of objects against which the calculation will be performed.

criteria CriteriaOperator

The CriteriaOperator that specifies the criteria for object selection.

Returns

Type Description
Int32

An integer value that is the count of objects that satisfy the specified criteria.

See Also