Freigeben über


IViewDataContainer.ViewData Property

Gets or sets the view data dictionary.

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

Syntax

'Declaration
Property ViewData As ViewDataDictionary
    Get
    Set
ViewDataDictionary ViewData { get; set; }
property ViewDataDictionary^ ViewData {
    ViewDataDictionary^ get ();
    void set (ViewDataDictionary^ value);
}

Property Value

Type: System.Web.Mvc.ViewDataDictionary
The view data dictionary.

See Also

Reference

IViewDataContainer Interface

System.Web.Mvc Namespace