The requested page is not available for the requested platform. You are viewing the content for Default platform.

RuleStringComparisonAttribute Properties

Defines a validation rule that demands the target string type property's value satisfy a specified condition.

Name Description

Specifies informational text to be added to the exception message, when the current rule is broken.

(Inherited from RuleBaseAttribute)

Specifies whether to perfom a case-sensitive comparison.


Specifies whether the current rule should be inverted, to be checked.

(Inherited from RuleBaseAttribute)

Specifies a name of the rule created using the current attribute.

(Inherited from RuleBaseAttribute)

Specifies the application behavior when the rule is broken.

(Inherited from RuleBaseAttribute)

Specifies whether the current rule is checked for the properties that are set to null (Nothing in VB), an empty string (for string type propeties) or a minimal date (for DateTime type properties).

(Inherited from RuleBaseAttribute)

Specifies a context for checking the current Rule.

(Inherited from RuleBaseAttribute)

Specifies a criterion that must be satisfied by the validated object or property to check rules.

(Inherited from RuleBaseAttribute)

Specifies the target collection's element property that must be checked by the current rule.

TypeId When implemented in a derived class, gets a unique identifier for this Attribute.
(Inherited from Attribute)
See Also