DisplayNameExtensions.DisplayNameForModel(HtmlHelper) DisplayNameExtensions.DisplayNameForModel(HtmlHelper) DisplayNameExtensions.DisplayNameForModel(HtmlHelper) Method

Definition

Gets the display name for the model.

public static System.Web.Mvc.MvcHtmlString DisplayNameForModel (this System.Web.Mvc.HtmlHelper html);
static member DisplayNameForModel : System.Web.Mvc.HtmlHelper -> System.Web.Mvc.MvcHtmlString
<Extension()>
Public Function DisplayNameForModel (html As HtmlHelper) As MvcHtmlString

Parameters

html
HtmlHelper HtmlHelper HtmlHelper

The HTML helper instance that this method extends.

Returns

The display name for the model.

Applies to