RuleBaseProperties Members
In This Article
#Constructors
Name | Description |
---|---|
Rule |
Initializes a new instance of the Rule |
#Properties
Name | Description |
---|---|
Custom |
Specifies custom informational text displayed in a validation error message for a broken Validation Rule instead of the default message templates specified in the Message |
Id | Specifies the Validation Rule identifier. |
Invert |
Specifies whether the Validation Rule is applied directly. |
Message |
Specifies the additional text that will be displayed in the Validation Error window when the Validation Rule applied to a collection property is broken. |
Message |
Specifies the template for the message displayed when the Validation Rule was not checked because the target properties are not specified. |
Message |
Specifies the template for the message displayed when the Validation Rule was not checked because the validated object is not an element of the target collection. |
Message |
Specifies the template for the message displayed when the Validation Rule was not checked because the criteria specified by the Rule |
Name | Specifies the name of the Validation Rule. |
Result |
Specifies the application behavior when the rule is broken. |
Skip |
Specifies whether the Validation Rule is checked for the properties that are set to null (Nothing in VB), an empty string (for string type properties) or a minimal date (for Date |
Target |
Specifies the type in which the collection property is declared, if the Validation Rule is applied to a collection property. |
Target |
Specifies the collection property for which the current Validation Rule will be checked. |
Target |
Specifies the Contexts for checking the current Validation Rule. |
Target |
Specifies the criteria that must be satisfied by the validated object to allow checking the Validation Rule. |
Target |
Specifies the type of the object for which the Validation Rule will be checked. |
#Methods
Name | Description |
---|---|
Clone() | Creates a shallow copy of the current Validation Rule Properties. |
Equals |
Determines whether the specified object instances are considered equal. Inherited from Object. |
Equals |
Determines whether the specified object is equal to the current object. Inherited from Object. |
Get |
Serves as the default hash function. Inherited from Object. |
Get |
Gets the Type of the current instance. Inherited from Object. |
Memberwise |
Creates a shallow copy of the current Object. Inherited from Object. |
Reference |
Determines whether the specified Object instances are the same instance. Inherited from Object. |
To |
Returns a string that represents the current object. Inherited from Object. |
See Also