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)
Syntax
'Declaration
Public ReadOnly Property Keys As ICollection(Of String)
Get
public ICollection<string> Keys { get; }
public:
virtual property ICollection<String^>^ Keys {
ICollection<String^>^ get () sealed;
}
Property Value
Type: System.Collections.Generic.ICollection<String>
A collection that contains the keys of the model-state dictionary.
Implements
IDictionary<TKey, TValue>.Keys