RequestFormLimitsAttribute.KeyLengthLimit Property      
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A limit on the length of individual keys. Forms containing keys that exceed this limit will throw an InvalidDataException when parsed.
public:
 property int KeyLengthLimit { int get(); void set(int value); };public int KeyLengthLimit { get; set; }member this.KeyLengthLimit : int with get, setPublic Property KeyLengthLimit As Integer