Export (0) Print
Expand All

MinLengthAttribute.Length Property

.NET Framework 4.6 and 4.5

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

Namespace:  System.ComponentModel.DataAnnotations
Assemblies:   System.ComponentModel.Annotations (in System.ComponentModel.Annotations.dll)
  System.ComponentModel.DataAnnotations (in System.ComponentModel.DataAnnotations.dll)

public int Length { get; }

Property Value

Type: System.Int32
The minimum allowable length of the array or string data.

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft