StringLengthValidator Methods

The StringLengthValidator type exposes the following members.


  Name Description
Public method Equals (Inherited from Internable.)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetErrorMessage
Provides the error message associated with a failure of this validator.
(Overrides ValidatorGetErrorMessage(ValidationContext).)
Public method GetHashCode (Inherited from Internable.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)
Public method Validate
Performs validation given a specified context.
(Inherited from Validator.)
Protected method ValidateCore
Provides the core validation logic to this validator.
(Overrides ValidatorValidateCore(ValidationContext).)
See Also