ViewDataDictionary.Item Property

Visual Studio 2010

Gets or sets the item that is associated with the specified key.

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

'Declaration
Public Default Property Item ( _
	key As String _
) As Object
	Get
	Set

Parameters

key
Type: System.String
The key.

Property Value

Type: System.Object
The value of the selected item.

Implements

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

Community Additions

ADD
Show: