Skip to main content
.NET 6.0+

IRuleBaseProperties Properties

Declares members implemented by classes which represent Validation Rules‘ properties exported to the Application Model.
Name Description
CustomMessageTemplate Specifies custom informational text displayed in a validation error message for a broken Validation Rule instead of the default message templates specified in the MessageTemplate… properties.
Id Specifies the Validation Rule identifier.
InvertResult Specifies whether the Validation Rule is applied directly.
MessageTemplateSkipNullOrEmptyValues Specifies the template for the message displayed when the Validation Rule was not checked because the target properties are not specified.
MessageTemplateTargetDoesNotSatisfyTargetCriteria Specifies the template for the message displayed when the Validation Rule was not checked because the criteria specified by the RuleBaseProperties.TargetCriteria property is not satisfied by the validated object.
Name Specifies the name of the Validation Rule.
ResultType Specifies the application behavior when the rule is broken.
SkipNullOrEmptyValues 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 DateTime type properties).
TargetContextIDs Specifies the Contexts for checking the current Validation Rule.
TargetCriteria Specifies the criteria that must be satisfied by the validated object to allow checking the Validation Rule.
TargetType Specifies the type of the object for which the Validation Rule will be checked.
See Also