Freigeben über


ViewPage<TModel>.Html Property

Gets or sets the HtmlHelper object that provides support for rendering elements.

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

Syntax

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

Property Value

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

See Also

Reference

ViewPage<TModel> Class

System.Web.Mvc Namespace