ITempDataDictionary Interface

Definition

Represents a set of data that persists only from one request to the next.

public interface class ITempDataDictionary : System::Collections::Generic::ICollection<System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>>, System::Collections::Generic::IDictionary<System::String ^, System::Object ^>, System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>>
public interface ITempDataDictionary : System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<string,object>>, System.Collections.Generic.IDictionary<string,object>, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,object>>
type ITempDataDictionary = interface
    interface IDictionary<string, obj>
    interface ICollection<KeyValuePair<string, obj>>
    interface seq<KeyValuePair<string, obj>>
    interface IEnumerable
type ITempDataDictionary = interface
    interface ICollection<KeyValuePair<string, obj>>
    interface seq<KeyValuePair<string, obj>>
    interface IEnumerable
    interface IDictionary<string, obj>
Public Interface ITempDataDictionary
Implements ICollection(Of KeyValuePair(Of String, Object)), IDictionary(Of String, Object), IEnumerable(Of KeyValuePair(Of String, Object))
Derived
Implements

Methods

Keep()

Marks all keys in the dictionary for retention.

Keep(String)

Marks the specified key in the dictionary for retention.

Load()

Loads the dictionary by using the registered ITempDataProvider.

Peek(String)

Returns an object that contains the element that is associated with the specified key, without marking the key for deletion.

Save()

Saves the dictionary by using the registered ITempDataProvider.

Applies to