LongValidatorAttribute::MinValue Property

 

Gets or sets the minimum value allowed for the property.

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

public:
property long long MinValue {
	long long get();
	void set(long long value);
}

Property Value

Type: System::Int64

An integer that indicates the allowed minimum value.

Exception Condition
ArgumentOutOfRangeException

The selected value is greater than MaxValue.

The MinValue property value is included in the allowed range.

The following example shows how to use the MinValue property.

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

.NET Framework
Available since 2.0
Return to top
Show: