ModelStateDictionary.Keys Property

 

Gets a collection that contains the keys in the dictionary.

Namespace:   System.Web.Http.ModelBinding
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

public ICollection<string> Keys { get; }
public:
property ICollection<String^>^ Keys {
    virtual ICollection<String^>^ get() sealed;
}
abstract Keys : ICollection<string> with get
override Keys : ICollection<string> with get
Public ReadOnly Property Keys As ICollection(Of String)

Property Value

Type: System.Collections.Generic.ICollection<String>

A collection that contains the keys of the model-state dictionary.

Implements

IDictionary<TKey, TValue>.Keys

See Also

ModelStateDictionary Class
System.Web.Http.ModelBinding Namespace

Return to top