The Portrate Interview Engine

StringLengthValidator Class

Verifies that a string is of a certain length, or length range. Reads the following attributes from the configuration element:

 minLength: The minimum length of the string maxLength: The maximum length of the string trimmed: True if the string is 'trimmed' prior to validation message: The message returned if validation fails allowNull: True if null strings are allowed 
 Author: Jacob W Anderson Date: 30 Oct 2003 (c) 2003 Portrate, LLC. All rights reserved. 

For a list of all members of this type, see StringLengthValidator Members.

System.Object
   Portrate.Interview.Model.Validation.AbstractValidator
      Portrate.Interview.Model.Validation.StringLengthValidator

[Visual Basic]
Public Class StringLengthValidator
    Inherits AbstractValidator
[C#]
public class StringLengthValidator : AbstractValidator
[C++]
public __gc class StringLengthValidator : public AbstractValidator
[JScript]
public class StringLengthValidator extends AbstractValidator

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Requirements

Namespace: Portrate.Interview.Model.Validation

Assembly: Portrate.Interview (in Portrate.Interview.dll)

See Also

StringLengthValidator Members | Portrate.Interview.Model.Validation Namespace