RuleSet.ValidateRule(IObjectSpace, IRule, Object) Method

Checks a rule on a target and returns a result.

Namespace: DevExpress.Persistent.Validation

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


public static RuleValidationResult ValidateRule(
    IObjectSpace targetObjectSpace,
    IRule rule,
    object target
Public Shared Function ValidateRule(
    targetObjectSpace As IObjectSpace,
    rule As IRule,
    target As Object
) As RuleValidationResult


Type Name Description
IObjectSpace targetObjectSpace

An IObjectSpace used by a validation target.

IRule rule

The IRule object that represents a rule to check.

Object target

An object to validate.


Type Description

The validation result.

See Also