MaxLengthAttribute Constructor

.NET Framework (current version)
 

Initializes a new instance of the MaxLengthAttribute class.

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

NameDescription
System_CAPS_pubmethodMaxLengthAttribute()

Initializes a new instance of the MaxLengthAttribute class.

System_CAPS_pubmethodMaxLengthAttribute(Int32)

Initializes a new instance of the MaxLengthAttribute class based on the length parameter.

Return to top
Show: