StringValidator Constructor (Int32)

 

Initializes a new instance of the StringValidator class, based on a supplied parameter.

Namespace:   System.Configuration
Assembly:  System.Configuration (in System.Configuration.dll)

public StringValidator(
	int minLength
)

Parameters

minLength
Type: System.Int32

An integer that specifies the minimum length of the string value.

The StringValidator constructor verifies the minimum acceptable length of the string being validated.

.NET Framework
Available since 2.0
Return to top
Show: