Share via


FormOptions.ValueLengthLimit Property

Definition

A limit on the length of individual form values. Forms containing values that exceed this limit will throw an InvalidDataException when parsed. Defaults to 4,194,304 bytes, which is approximately 4MB.

public:
 property int ValueLengthLimit { int get(); void set(int value); };
public int ValueLengthLimit { get; set; }
member this.ValueLengthLimit : int with get, set
Public Property ValueLengthLimit As Integer

Property Value

Applies to