ModelStateDictionary.Keys Property

Gets a list that contains the keys in the model-state dictionary.

Namespace:  System.Web.WebPages.Html
Assembly:  System.Web.WebPages (in System.Web.WebPages.dll)

Syntax

'Declaration
Public ReadOnly Property Keys As ICollection(Of String)
    Get
'Usage
Dim instance As ModelStateDictionary 
Dim value As ICollection(Of String)

value = instance.Keys
public ICollection<string> Keys { get; }
public:
virtual property ICollection<String^>^ Keys {
    ICollection<String^>^ get () sealed;
}
abstract Keys : ICollection<string>
override Keys : ICollection<string>
final function get Keys () : ICollection<String>

Property Value

Type: System.Collections.Generic.ICollection<String>
The list of keys in the dictionary.

Implements

IDictionary<TKey, TValue>.Keys

See Also

Reference

ModelStateDictionary Class

System.Web.WebPages.Html Namespace