Export (0) Print
Expand All

TempDataDictionary Methods

The TempDataDictionary type exposes the following members.

  Name Description
Public method Add Adds an element that has the specified key and value to the IDictionary<TKey, TValue> object.
Public method Clear Removes all items from the ICollection<T> instance.
Public method ContainsKey Determines whether the IDictionary<TKey, TValue> instance contains an element that has the specified key.
Public method ContainsValue Determines whether the dictionary contains the specified value.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator Gets the enumerator.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method Keep() Marks all keys in the dictionary for retention.
Public method Keep(String) Marks the specified key in the dictionary for retention.
Public method Load Loads the specified controller context by using the specified data provider.
Protected method MemberwiseClone (Inherited from Object.)
Public method Peek Returns an object that contains the element that is associated with the specified key, without marking the key for deletion.
Public method Remove Removes the element that has the specified key from the IDictionary<TKey, TValue> object.
Public method Save Saves the specified controller context by using the specified data provider.
Public method ToString (Inherited from Object.)
Public method TryGetValue Gets the value of the element that has the specified key.
Top

  Name Description
Explicit interface implemetation Private method ICollection<KeyValuePair<String, Object>>.Add Adds the specified key/value pair to the dictionary.
Explicit interface implemetation Private method ICollection<KeyValuePair<String, Object>>.Contains Determines whether a sequence contains a specified element by using the default equality comparer.
Explicit interface implemetation Private method ICollection<KeyValuePair<String, Object>>.CopyTo Copies a key/value pair to the specified array at the specified index.
Explicit interface implemetation Private method IEnumerable.GetEnumerator Returns an enumerator that can be used to iterate through a collection.
Explicit interface implemetation Private method ICollection<KeyValuePair<String, Object>>.Remove Deletes the specified key/value pair from the dictionary.
Top
Show:
© 2014 Microsoft