Delen via


HtmlHelper.ViewDataContainer Property

Gets or sets the view data container.

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

Syntax

'Declaration
Public Property ViewDataContainer As IViewDataContainer
    Get
    Private Set
public IViewDataContainer ViewDataContainer { get; private set; }
public:
property IViewDataContainer^ ViewDataContainer {
    IViewDataContainer^ get ();
    private: void set (IViewDataContainer^ value);
}

Property Value

Type: System.Web.Mvc.IViewDataContainer
The view data container.

Remarks

This property contains an object that implements the IViewDataContainer interface.

See Also

Reference

HtmlHelper Class

System.Web.Mvc Namespace