TimeSpanValidatorAttribute.MaxValue Property


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

Gets the absolute maximum TimeSpan value.

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

member MaxValue : TimeSpan with get

Property Value

Type: System.TimeSpan

The allowed maximum TimeSpan value.

This is the absolute maximum value allowed by the .NET Framework. Its value is defined by the MaxValue field.

.NET Framework
Available since 2.0
Return to top