TempDataDictionary.ICollection(Of KeyValuePair(Of String, Object)).Add Method
Visual Studio 2010
Adds the specified key/value pair to the dictionary.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
'Declaration Private Sub Add ( _ keyValuePair As KeyValuePair(Of String, Object) _ ) Implements ICollection(Of KeyValuePair(Of String, Object)).Add
Parameters
- keyValuePair
- Type: System.Collections.Generic.KeyValuePair(Of String, Object)
The key/value pair.
Implements
ICollection(Of 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(Of T) interface.
Community Additions
ADD
Show: