Skip to main content
.NET 8.0+

BaseObjectSpace.IsObjectFitForCriteria(Object, CriteriaOperator) Method

Specifies whether the specified object satisfies the specified criteria.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

public bool? IsObjectFitForCriteria(
    object obj,
    CriteriaOperator criteria
)

Parameters

Name Type Description
obj Object

A persistent object to be tested.

criteria CriteriaOperator

A CriteriaOperator object representing a criteria to be tested.

Returns

Type Description
Nullable<Boolean>

true if the specified object passed as the obj parameter satisfies the criteria passed as the criteria parameter; otherwise, false.

Remarks

This method is intended for internal use only.

See Also