MinLengthAttribute.Length Property

.NET Framework (current version)
 

Gets or sets the minimum allowable length of the array or string data.

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

Public Property Length As Integer
	Get
	Private Set
End Property

Property Value

Type: System.Int32

The minimum allowable length of the array or string data.

Universal Windows Platform
Available since 10
.NET Framework
Available since 4.5
Return to top
Show: