MaxLengthAttribute.Length Property

Definition

Gets the maximum allowable length of the array or string data.

public:
 property int Length { int get(); };
public int Length { get; }
member this.Length : int
Public ReadOnly Property Length As Integer

Property Value

The maximum allowable length of the array or string data.

Applies to