HtmlHelperExtensions.LabelForModel Method (HtmlHelper)

 

Namespace:   Microsoft.Web.Mvc.Html
Assembly:  Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)

Syntax

public static MvcHtmlString LabelForModel(
    this HtmlHelper htmlHelper
)
public:
[ExtensionAttribute]
static MvcHtmlString^ LabelForModel(
    HtmlHelper^ htmlHelper
)
static member LabelForModel : 
        htmlHelper:HtmlHelper -> MvcHtmlString
<ExtensionAttribute>
Public Shared Function LabelForModel (
    htmlHelper As HtmlHelper
) As MvcHtmlString

Parameters

Return Value

Type: System.Web.Mvc.MvcHtmlString

See Also

HtmlHelperExtensions Class
Microsoft.Web.Mvc.Html Namespace

Return to top