RuleSet.GetRules(Object) Method

Returns a list of all rules that belong to the object specified in a parameter.

Namespace: DevExpress.Persistent.Validation

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

Declaration

public ReadOnlyCollection<IRule> GetRules(
    object targetForDelayedCollectRules
)
Public Function GetRules(
    targetForDelayedCollectRules As Object
) As ReadOnlyCollection(Of IRule)

Parameters

Type Name Description
Object targetForDelayedCollectRules

An object for which to collect the rules.

Returns

Type Description
ReadOnlyCollection<IRule>

The list of rules.

See Also