TimeSpanValidatorAttribute.MaxValueString Property

 
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.

Gets or sets the relative maximum TimeSpan value.

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

member MaxValueString : string with get, set

Property Value

Type: System.String

The allowed maximum TimeSpan value.

Exception Condition
ArgumentOutOfRangeException

The selected value represents less than MinValue.

This is the relative maximum value as set by the user.

The following example shows how to use the MaxValueString property.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: