Share via


MvcControl.ViewData Property

 

Gets the data dictionary of the control.

Namespace:   Microsoft.Web.Mvc.Controls
Assembly:  Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)

Syntax

public ViewDataDictionary ViewData { get; }
public:
property ViewDataDictionary^ ViewData {
    ViewDataDictionary^ get();
}
member ViewData : ViewDataDictionary with get
Public ReadOnly Property ViewData As ViewDataDictionary

Property Value

Type: System.Web.Mvc.ViewDataDictionary

The data dictionary of the control.

See Also

MvcControl Class
Microsoft.Web.Mvc.Controls Namespace

Return to top