Partager via


TempDataDictionary.Keys Property

Gets an ICollection<T> object that contains the keys of elements in the IDictionary<TKey, TValue> object.

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>
The keys of the elements in the IDictionary<TKey, TValue> object.

Implements

IDictionary<TKey, TValue>.Keys

See Also

Reference

TempDataDictionary Class

System.Web.Mvc Namespace