TempDataDictionary.Item Property

Gets or sets the object that has the specified key.

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

'Declaration
Public Property Item ( _
	key As String _
) As Object 
	Get 
	Set
'Usage
Dim instance As TempDataDictionary 
Dim key As String 
Dim value As Object 

value = instance.Item(key)

instance.Item(key) = value

Parameters

key
Type: System.String

The key to access.

Property Value

Type: System.Object
The object that has the specified key.

Implements

IDictionary(Of TKey, TValue).Item(TKey)
Show: