Redigera

Dela via


StringLengthAttribute.MaximumLength Property

Definition

Gets or sets the maximum length of a string.

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

Property Value

The maximum length a string.

Applies to