Share via


RepeaterItem.ViewData Property

 

Gets or sets a dictionary that contains data to pass between the controller and the view.

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

Syntax

public ViewDataDictionary ViewData { get; set; }
public:
property ViewDataDictionary^ ViewData {
    virtual ViewDataDictionary^ get() sealed;
    virtual void set(ViewDataDictionary^ value) sealed;
}
abstract ViewData : ViewDataDictionary with get, set
override ViewData : ViewDataDictionary with get, set
Public Property ViewData As ViewDataDictionary

Property Value

Type: System.Web.Mvc.ViewDataDictionary

A dictionary that contains data to pass between the controller and the view.

Implements

IViewDataContainer.ViewData

See Also

RepeaterItem Class
Microsoft.Web.Mvc.Controls Namespace

Return to top