TimeSpanValidatorAttribute::MaxValueString Property

 

Gets or sets the relative maximum TimeSpan value.

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

public:
property String^ MaxValueString {
	String^ get();
	void set(String^ value);
}

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: