ValueExtensions.ValueForModel ValueExtensions.ValueForModel ValueExtensions.ValueForModel Method

Definition

Overloads

ValueForModel(HtmlHelper) ValueForModel(HtmlHelper) ValueForModel(HtmlHelper)

Provides a mechanism to create custom HTML markup compatible with the ASP.NET MVC model binders and templates.

ValueForModel(HtmlHelper, String) ValueForModel(HtmlHelper, String) ValueForModel(HtmlHelper, String)

Provides a mechanism to create custom HTML markup compatible with the ASP.NET MVC model binders and templates.

ValueForModel(HtmlHelper) ValueForModel(HtmlHelper) ValueForModel(HtmlHelper)

Provides a mechanism to create custom HTML markup compatible with the ASP.NET MVC model binders and templates.

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

Parameters

html
HtmlHelper HtmlHelper HtmlHelper

The HTML helper instance that this method extends.

Returns

The HTML markup for the value.

ValueForModel(HtmlHelper, String) ValueForModel(HtmlHelper, String) ValueForModel(HtmlHelper, String)

Provides a mechanism to create custom HTML markup compatible with the ASP.NET MVC model binders and templates.

public static System.Web.Mvc.MvcHtmlString ValueForModel (this System.Web.Mvc.HtmlHelper html, string format);
static member ValueForModel : System.Web.Mvc.HtmlHelper * string -> System.Web.Mvc.MvcHtmlString
<Extension()>
Public Function ValueForModel (html As HtmlHelper, format As String) As MvcHtmlString

Parameters

html
HtmlHelper HtmlHelper HtmlHelper

The HTML helper instance that this method extends.

format
String String String

The format string.

Returns

The HTML markup for the value.

Applies to