Assembly: System.Configuration (in system.configuration.dll)
The LongValidator is used to ensure a long (a 64-bit signed integer) meets specific criteria. The criteria for validation is established when an instance of the LongValidator class is created. The LongValidator(Int64,Int64) constructor ensures that the long value that is being validated adheres to both a minimum and a maximum length. The LongValidator(Int64,Int64,Boolean) constructor checks both the minimum and maximum Int64 values, as well as whether the validation range is exclusive. The LongValidator(Int64,Int64,Boolean,Int64) constructor checks the previous three parameters and also checks whether the Int64 value is equal to a specific resolution value.
Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter EditionThe Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.