Skip to main content
.NET Framework 4.6.2+

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

RuleSet.ValidateRule(IObjectSpace, IRule, Object) Method

Checks a rule on a target and returns a result.

Namespace: DevExpress.Persistent.Validation

Assembly: DevExpress.Persistent.Base.v24.2.dll

#Declaration

public static RuleValidationResult ValidateRule(
    IObjectSpace targetObjectSpace,
    IRule rule,
    object target
)

#Parameters

Name Type Description
targetObjectSpace IObjectSpace

An IObjectSpace used by a validation target.

rule IRule

The IRule object that represents a rule to check.

target Object

An object to validate.

#Returns

Type Description
RuleValidationResult

The validation result.

See Also