All docs
V20.2
20.2
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

CompositeObjectSpace.GetObjectsCount(Type, CriteriaOperator) Method

Returns the number of objects that satisfy the specified criteria.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v20.2.dll

Declaration

public override int GetObjectsCount(
    Type objectType,
    CriteriaOperator criteria
)
Public Overrides Function GetObjectsCount(
    objectType As Type,
    criteria As CriteriaOperator
) As Integer

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