IRuleSupportsCollectionAggregatesProperties Properties

Name Description
CustomMessageTemplate

Specifies a custom informational text that is displayed in a validation error message for a broken Validation Rule, instead of the default message templates specified by the MessageTemplate... properties.

(Inherited from IRuleBaseProperties)
Id

Specifies the Validation Rule identifier.

(Inherited from IRuleBaseProperties)
InvertResult

Specifies whether the Validation Rule is applied directly.

(Inherited from IRuleBaseProperties)
MessageTemplateCollectionValidationMessageSuffix

Specifies the additional text that will be displayed in the Validation Error window when the Validation Rule applied to a collection property is broken.

MessageTemplateSkipNullOrEmptyValues

Specifies the template for the message displayed when the Validation Rule was not checked because the target properties are not specified.

(Inherited from IRuleBaseProperties)
MessageTemplateTargetDoesNotSatisfyCollectionCriteria

Specifies the message displayed when the Validation Rule was not checked because a validated object is not an element of the target collection.

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.

(Inherited from IRuleBaseProperties)
Name

Specifies the name of the Validation Rule.

(Inherited from IRuleBaseProperties)
ResultType

Specifies the application behavior when the rule is broken.

(Inherited from IRuleBaseProperties)
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).

(Inherited from IRuleBaseProperties)
TargetCollectionAggregate

Specifies the aggregate function to be checked by the Validation Rule, if a Rule is applied to a collection property.

TargetCollectionOwnerType

If the Validation Rule is applied to a collection property, specifies the type in which the collection property is declared.

TargetCollectionPropertyName

Specifies the collection property for which the current Validation Rule will be checked.

TargetContextIDs

Specifies the Contexts for checking the current Validation Rule.

(Inherited from IRuleBaseProperties)
TargetCriteria

Specifies the criteria that must be satisfied by the validated object to allow checking the Validation Rule.

(Inherited from IRuleBaseProperties)
TargetType

Specifies the type of the object for which the Validation Rule will be checked.

(Inherited from IRuleBaseProperties)