Export (0) Print
Expand All

MinLengthAttribute.Length Property

.NET Framework 4.5

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

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

public int Length { get; private set; }

Property Value

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

.NET Framework

Supported in: 4.5.3
Show:
© 2014 Microsoft