MaxLengthAttribute Constructor

Initializes a new instance of the MaxLengthAttribute class. The maximum allowable length supported by the database will be used.

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

Syntax

'Declaration
Public Sub New
'Usage

Dim instance As New MaxLengthAttribute()
public MaxLengthAttribute()
public:
MaxLengthAttribute()
new : unit -> MaxLengthAttribute
public function MaxLengthAttribute()

See Also

Reference

MaxLengthAttribute Class

MaxLengthAttribute Overload

System.ComponentModel.DataAnnotations Namespace