MaxLengthAttribute Constructor
.NET Framework (current version)
Initializes a new instance of the MaxLengthAttribute class.
Assembly: System.ComponentModel.DataAnnotations (in System.ComponentModel.DataAnnotations.dll)
| Name | Description | |
|---|---|---|
![]() | MaxLengthAttribute() | Initializes a new instance of the MaxLengthAttribute class. |
![]() | MaxLengthAttribute(Int32) | Initializes a new instance of the MaxLengthAttribute class based on the length parameter. |
Show:
