共用方式為


ViewUserControl<TModel>.Html Property

Gets the HTML for the view.

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

Syntax

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

Property Value

Type: System.Web.Mvc.HtmlHelper<TModel>
The HTML for the view.

See Also

Reference

ViewUserControl<TModel> Class

System.Web.Mvc Namespace