Skip to main content
.NET 8.0+

XPBaseObject.Fit(CriteriaOperator) Method

Checks whether the current instance matches the specified criteria.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v24.2.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