RuleCollectionAdd Method
Add a new rule to the collection.
Namespace: Aliquo.Windows.BaseAssembly: Aliquo.Windows (in Aliquo.Windows.dll) Version: 5.0.9179.22654
public void Add(
string propertyName,
Object error,
Func<bool> rule
)
Public Sub Add (
propertyName As String,
error As Object,
rule As Func(Of Boolean)
)
Parameters
- propertyName String
- Name of the property that is associated with the rule.
- error Object
- Object that provides information about disability.
- rule FuncBoolean
- Delegate method or Lambda expression used to check the rule.