Export (0) Print
Expand All

TempDataDictionary.ICollection<KeyValuePair<String, Object>>.Add Method

Adds the specified key/value pair to the dictionary.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

void ICollection<KeyValuePair<string, Object>>.Add(
	KeyValuePair<string, Object> keyValuePair
)

Parameters

keyValuePair
Type: System.Collections.Generic.KeyValuePair<String, Object>
The key/value pair.

Implements

ICollection<T>.Add(T)

This member is an explicit interface member implementation. It can be used only when the TempDataDictionary instance is cast to an ICollection<T> interface.

Show:
© 2014 Microsoft