Share via


FormOptions.KeyLengthLimit Property

Definition

A limit on the length of individual keys. Forms containing keys that exceed this limit will throw an InvalidDataException when parsed. Defaults to 2,048 bytes, which is approximately 2KB.

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

Property Value

Applies to