ViewDataDictionary::Item Property (String^)

 

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:
property Object^ default[
	String^ key
] {
	virtual Object^ get(String^ key) sealed;
	virtual void set(String^ key, Object^ value) sealed;
}

Property Value

Type: System::Object^

The value of the selected item.

Return to top
Show: