Partager via


ViewPage.Html Property

Gets or sets the HtmlHelper object that is used to render HTML elements.

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

Syntax

'Declaration
Public Property Html As HtmlHelper(Of Object)
    Get
    Set
public HtmlHelper<Object> Html { get; set; }
public:
property HtmlHelper<Object^>^ Html {
    HtmlHelper<Object^>^ get ();
    void set (HtmlHelper<Object^>^ value);
}

Property Value

Type: System.Web.Mvc.HtmlHelper<Object>
The HTML helper object that is associated with the view.

See Also

Reference

ViewPage Class

System.Web.Mvc Namespace