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 int Length { get; private set; }

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: