Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ViewDataDictionary.Item Property

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)
public Object this[
	string key
] { get; set; }

Parameters

key
Type: System.String

Property Value

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

Implements

IDictionary<TKey, TValue>.Item[TKey]
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.