RangeAttribute Constructor

 
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.

Initializes a new instance of the RangeAttribute class.

Namespace:   System.ComponentModel.DataAnnotations
Assembly:  System.ComponentModel.DataAnnotations (in System.ComponentModel.DataAnnotations.dll)

NameDescription
System_CAPS_pubmethodRangeAttribute(Double, Double)

Initializes a new instance of the RangeAttribute class by using the specified minimum and maximum values.

System_CAPS_pubmethodRangeAttribute(Int32, Int32)

Initializes a new instance of the RangeAttribute class by using the specified minimum and maximum values.

System_CAPS_pubmethodRangeAttribute(Type, String, String)

Initializes a new instance of the RangeAttribute class by using the specified minimum and maximum values and the specific type.

Return to top
Show: