ViewResultBase::ViewData Property

 

Gets or sets the view data ViewDataDictionary object for this result.

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

public:
property ViewDataDictionary^ ViewData {
	ViewDataDictionary^ get();
	void set(ViewDataDictionary^ value);
}

Property Value

Type: System.Web.Mvc::ViewDataDictionary^

The view data.

Return to top
Show: