TimeSpanValidator Constructor (TimeSpan, TimeSpan)
.NET Framework (current version)
Initializes a new instance of the TimeSpanValidator class, based on supplied parameters.
Assembly: System.Configuration (in System.Configuration.dll)
Parameters
- minValue
-
Type:
System::TimeSpan
A TimeSpan object that specifies the minimum time allowed to pass validation.
- maxValue
-
Type:
System::TimeSpan
A TimeSpan object that specifies the maximum time allowed to pass validation.
When the TimeSpanValidator constructor with two parameters is used, the TimeSpanValidator object validates that a TimeSpan value adheres to a specific range.
.NET Framework
Available since 2.0
Available since 2.0
Show: