ModelStateDictionary.Keys Property

Gets a collection that contains the keys in the dictionary.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

public ICollection<string> Keys { get; }

Property Value

Type: System.Collections.Generic.ICollection<String>
A collection that contains the keys of the model-state dictionary.

Implements

IDictionary<TKey, TValue>.Keys
Show: