Export (0) Print
Expand All

StringLengthAttribute.MinimumLength Property

Gets or sets the minimum length of a string.

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

public int MinimumLength { get; set; }

Property Value

Type: System.Int32
The minimum length of a string.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4

Portable Class Library

Supported in: Portable Class Library
© 2015 Microsoft