StringValidatorAttribute Properties
.NET Framework 4.5
The StringValidatorAttribute type exposes the following members.
| Name | Description | |
|---|---|---|
|
InvalidCharacters | Gets or sets the invalid characters for the property. |
|
MaxLength | Gets or sets the maximum length allowed for the string to assign to the property. |
|
MinLength | Gets or sets the minimum allowed value for the string to assign to the property. |
|
TypeId | When implemented in a derived class, gets a unique identifier for this Attribute. (Inherited from Attribute.) |
|
ValidatorInstance | Gets an instance of the StringValidator class. (Overrides ConfigurationValidatorAttribute.ValidatorInstance.) |
|
ValidatorType | Gets the type of the validator attribute. (Inherited from ConfigurationValidatorAttribute.) |