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

public HtmlHelper<object> Html { get; set; }
public:
property HtmlHelper<Object^>^ Html {
    HtmlHelper<Object^>^ get();
    void set(HtmlHelper<Object^>^ value);
}
member Html : HtmlHelper<Object> with get, set
Public Property Html As HtmlHelper(Of Object)

Property Value

Type: System.Web.Mvc.HtmlHelper<Object>

The HTML helper object that is associated with the view.

See Also

ViewPage Class
System.Web.Mvc Namespace

Return to top