This topic has not yet been rated - Rate this topic

StringValidatorAttribute Properties

The StringValidatorAttribute type exposes the following members.

  Name Description
Public property InvalidCharacters Gets or sets the invalid characters for the property.
Public property MaxLength Gets or sets the maximum length allowed for the string to assign to the property.
Public property MinLength Gets or sets the minimum allowed value for the string to assign to the property.
Public property TypeId When implemented in a derived class, gets a unique identifier for this Attribute. (Inherited from Attribute.)
Public property ValidatorInstance Gets an instance of the StringValidator class. (Overrides ConfigurationValidatorAttribute.ValidatorInstance.)
Public property ValidatorType Gets the type of the validator attribute. (Inherited from ConfigurationValidatorAttribute.)
Top
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.