Export (0) Print
Expand All

MinLengthAttribute Constructor

.NET Framework 4.5

Initializes a new instance of the MinLengthAttribute class.

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

public MinLengthAttribute(
	int length
)

Parameters

length
Type: System.Int32

The length of the array or string data.

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft