Export (0) Print
Expand All

LongValidator Constructor (Int64, Int64, Boolean, Int64)

Note: This constructor is new in the .NET Framework version 2.0.

Initializes an instance of the LongValidator class based on supplied parameters.

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

public LongValidator (
	long minValue,
	long maxValue,
	bool rangeIsExclusive,
	long resolution
)
public LongValidator (
	long minValue, 
	long maxValue, 
	boolean rangeIsExclusive, 
	long resolution
)
public function LongValidator (
	minValue : long, 
	maxValue : long, 
	rangeIsExclusive : boolean, 
	resolution : long
)

Parameters

minValue

An Int64 specifying the minimum length of the long value.

maxValue

An Int64 specifying the maximum length of the long value.

rangeIsExclusive

A Boolean value specifying whether the validation range is exclusive.

resolution

An Int64 value that specifies a specific value that must be matched.

When you specify the resolution, the Int64 value being validated must be equal to that value in order to pass validation.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

Community Additions

ADD
Show:
© 2014 Microsoft