ValueExtensions::ValueForModel Method
Provides a mechanism to create custom HTML markup compatible with the ASP.NET MVC model binders and templates.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
| Name | Description | |
|---|---|---|
![]() ![]() | ValueForModel(HtmlHelper^) | Provides a mechanism to create custom HTML markup compatible with the ASP.NET MVC model binders and templates. |
![]() ![]() | ValueForModel(HtmlHelper^, String^) | Provides a mechanism to create custom HTML markup compatible with the ASP.NET MVC model binders and templates. |
ValueExtensions::ValueForModel Method (HtmlHelper^)
Provides a mechanism to create custom HTML markup compatible with the ASP.NET MVC model binders and templates.
Parameters
- html
-
Type:
System.Web.Mvc::HtmlHelper^
The HTML helper instance that this method extends.
ValueExtensions::ValueForModel Method (HtmlHelper^, String^)
Provides a mechanism to create custom HTML markup compatible with the ASP.NET MVC model binders and templates.
public: [ExtensionAttribute] static MvcHtmlString^ ValueForModel( HtmlHelper^ html, String^ format )
Parameters
- html
-
Type:
System.Web.Mvc::HtmlHelper^
The HTML helper instance that this method extends.
- format
-
Type:
System::String^
The format string.
Show:

