RuleBaseAttribute.TryAddTo(IBaseInfo, String, Func<String, RuleBaseAttribute>, Boolean) Method
In This Article
For internal use.
Namespace: DevExpress.Persistent.Validation
Assembly: DevExpress.Persistent.Base.v24.2.dll
NuGet Package: DevExpress.Persistent.Base
#Declaration
public static bool TryAddTo(
IBaseInfo info,
string id,
Func<string, RuleBaseAttribute> creator,
bool recursive = true
)
#Parameters
Name | Type |
---|---|
info | IBase |
id | String |
creator | Func<String, Rule |
#Optional Parameters
Name | Type | Default |
---|---|---|
recursive | Boolean | True |
#Returns
Type |
---|
Boolean |
See Also