MinLengthAttribute(Int32) Constructor

Definition

Initializes a new instance of the MinLengthAttribute class.

public:
 MinLengthAttribute(int length);
public MinLengthAttribute (int length);
new System.ComponentModel.DataAnnotations.MinLengthAttribute : int -> System.ComponentModel.DataAnnotations.MinLengthAttribute
Public Sub New (length As Integer)

Parameters

length
Int32

The length of the array or string data.

Applies to