Share via


IViewDataContainer.ViewData Property

 

Gets or sets the view data dictionary.

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

Syntax

ViewDataDictionary ViewData { get; set; }
property ViewDataDictionary^ ViewData {
    ViewDataDictionary^ get();
    void set(ViewDataDictionary^ value);
}
abstract ViewData : ViewDataDictionary with get, set
Property ViewData As ViewDataDictionary

Property Value

Type: System.Web.Mvc.ViewDataDictionary

The view data dictionary.

See Also

IViewDataContainer Interface
System.Web.Mvc Namespace

Return to top