TempDataDictionary Methods
The TempDataDictionary type exposes the following members.
| Name | Description | |
|---|---|---|
|
Add | Adds an element that has the specified key and value to the IDictionary(Of TKey, TValue) object. |
|
Clear | Removes all items from the ICollection(Of T) instance. |
|
ContainsKey | Determines whether the IDictionary(Of TKey, TValue) instance contains an element that has the specified key. |
|
ContainsValue | Determines whether the dictionary contains the specified value. |
|
Equals | (Inherited from Object.) |
|
Finalize | (Inherited from Object.) |
|
GetEnumerator | Gets the enumerator. |
|
GetHashCode | (Inherited from Object.) |
|
GetType | (Inherited from Object.) |
|
Keep | Marks all keys in the dictionary for retention. |
|
Keep(String) | Marks the specified key in the dictionary for retention. |
|
Load | Loads the specified controller context by using the specified data provider. |
|
MemberwiseClone | (Inherited from Object.) |
|
Peek | Returns an object that contains the element that is associated with the specified key, without marking the key for deletion. |
|
Remove | Removes the element that has the specified key from the IDictionary(Of TKey, TValue) object. |
|
Save | Saves the specified controller context by using the specified data provider. |
|
ToString | (Inherited from Object.) |
|
TryGetValue | Gets the value of the element that has the specified key. |
| Name | Description | |
|---|---|---|
|
ICollection(Of KeyValuePair(Of String, Object)).Add | Adds the specified key/value pair to the dictionary. |
|
ICollection(Of KeyValuePair(Of String, Object)).Contains | Determines whether a sequence contains a specified element by using the default equality comparer. |
|
ICollection(Of KeyValuePair(Of String, Object)).CopyTo | Copies a key/value pair to the specified array at the specified index. |
|
IEnumerable.GetEnumerator | Returns an enumerator that can be used to iterate through a collection. |
|
ICollection(Of KeyValuePair(Of String, Object)).Remove | Deletes the specified key/value pair from the dictionary. |
Show: