Freigeben über


ViewMasterPage.ViewData Property

Gets the view data.

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

Syntax

'Declaration
Public ReadOnly Property ViewData As ViewDataDictionary
    Get
public ViewDataDictionary ViewData { get; }
public:
property ViewDataDictionary^ ViewData {
    ViewDataDictionary^ get ();
}

Property Value

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

See Also

Reference

ViewMasterPage Class

System.Web.Mvc Namespace