A Sandcastle Documented Class Library

# StringValidationRule Constructor (Int32)

Initializes a new instance of the StringValidationRule class.

Namespace: Dundas.BI.Configuration
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    public StringValidationRule(
    	int maxLength
    )

    Public Sub New (
    	maxLength As Integer
    )

    public:
    StringValidationRule(
    	int maxLength
    )

    new :
            maxLength : int -> StringValidationRule

#### Parameters

maxLength
  Type: System
  Int32
  The maximum allowed string length.

Exceptions

Exception | Condition
--- | ---
ArgumentOutOfRangeException | maxLength is less than or equal to zero.

See Also

#### Reference

StringValidationRule Class
StringValidationRule Overload
Dundas.BI.Configuration Namespace