ViewUserControl.ViewData Property
Gets or sets the view-data dictionary.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Syntax
'Declaration
<BrowsableAttribute(False)> _
Public Property ViewData As ViewDataDictionary
Get
Set
[BrowsableAttribute(false)]
public ViewDataDictionary ViewData { get; set; }
[BrowsableAttribute(false)]
public:
virtual property ViewDataDictionary^ ViewData {
ViewDataDictionary^ get () sealed;
void set (ViewDataDictionary^ value) sealed;
}
Property Value
Type: System.Web.Mvc.ViewDataDictionary
The view-data dictionary.