ValueExtensions.Value ValueExtensions.Value ValueExtensions.Value Method

Definition

Overloads

Value(HtmlHelper, String) Value(HtmlHelper, String) Value(HtmlHelper, String)

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

Value(HtmlHelper, String, String) Value(HtmlHelper, String, String) Value(HtmlHelper, String, String)

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

Value(HtmlHelper, String) Value(HtmlHelper, String) Value(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 Value (this System.Web.Mvc.HtmlHelper html, string name);
static member Value : System.Web.Mvc.HtmlHelper * string -> System.Web.Mvc.MvcHtmlString
<Extension()>
Public Function Value (html As HtmlHelper, name As String) As MvcHtmlString

Parameters

html
HtmlHelper HtmlHelper HtmlHelper

The HTML helper instance that this method extends.

name
String String String

The name of the model.

Returns

The HTML markup for the value.

Value(HtmlHelper, String, String) Value(HtmlHelper, String, String) Value(HtmlHelper, String, 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 Value (this System.Web.Mvc.HtmlHelper html, string name, string format);
static member Value : System.Web.Mvc.HtmlHelper * string * string -> System.Web.Mvc.MvcHtmlString
<Extension()>
Public Function Value (html As HtmlHelper, name As String, format As String) As MvcHtmlString

Parameters

html
HtmlHelper HtmlHelper HtmlHelper

The HTML helper instance that this method extends.

name
String String String

The name of the model.

format
String String String

The format string.

Returns

The HTML markup for the value.

Applies to