ITempDataDictionary ITempDataDictionary ITempDataDictionary Interface


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

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
Public Interface ITempDataDictionary
Implements ICollection(Of KeyValuePair(Of String, Object)), IDictionary(Of String, Object), IEnumerable(Of KeyValuePair(Of String, Object))


Keep() Keep() Keep()

Marks all keys in the dictionary for retention.

Keep(String) Keep(String) Keep(String)

Marks the specified key in the dictionary for retention.

Load() Load() Load()

Loads the dictionary by using the registered ITempDataProvider.

Peek(String) Peek(String) Peek(String)

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

Save() Save() Save()

Saves the dictionary by using the registered ITempDataProvider.

Applies to