ViewDataDictionary.Keys Property


Gets a collection that contains the keys of this dictionary.

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


public ICollection<string> Keys { get; }
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 object that implements IDictionary<TKey, TValue>.


IDictionary<TKey, TValue>.Keys

See Also

ViewDataDictionary Class
System.Web.Mvc Namespace

Return to top