MaxValue Property

TimeSpanValidatorAttribute.MaxValue Property

 

Gets the absolute maximum TimeSpan value.

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

public TimeSpan MaxValue { 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
Show:
© 2016 Microsoft