LongValidator Constructor (Int64, Int64)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the LongValidator class.

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

public LongValidator(
	long minValue,
	long maxValue
)

Parameters

minValue
Type: System.Int64

An Int64 value that specifies the minimum length of the long value.

maxValue
Type: System.Int64

An Int64 value that specifies the maximum length of the long value.

The LongValidator constructor ensures that the long value being verified adheres to both a minimum and a maximum length.

.NET Framework
Available since 2.0
Return to top
Show: