Skip to main content
.NET 6.0+

XPBaseObject.Fit(CriteriaOperator) Method

Checks whether the current instance matches the specified criteria.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v24.1.dll

NuGet Package: DevExpress.Xpo

Declaration

public bool Fit(
    CriteriaOperator condition
)

Parameters

Name Type Description
condition CriteriaOperator

A CriteriaOperator object that specifies a Boolean condition to check against the current instance.

Returns

Type Description
Boolean

true if the current instance matches the specified criteria; otherwise, false.

See Also