ValueExtensions.ValueForModel Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Overload
| ValueForModel(HtmlHelper) |
Menyediakan mekanisme untuk membuat markup HTML kustom yang kompatibel dengan ASP.NET pengikat dan templat model MVC. |
| ValueForModel(HtmlHelper, String) |
Menyediakan mekanisme untuk membuat markup HTML kustom yang kompatibel dengan ASP.NET pengikat dan templat model MVC. |
ValueForModel(HtmlHelper)
Menyediakan mekanisme untuk membuat markup HTML kustom yang kompatibel dengan ASP.NET pengikat dan templat model MVC.
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
Parameter
- html
- HtmlHelper
Instans pembantu HTML yang diperluas metode ini.
Mengembalikan
Markup HTML untuk nilai .
Berlaku untuk
ValueForModel(HtmlHelper, String)
Menyediakan mekanisme untuk membuat markup HTML kustom yang kompatibel dengan ASP.NET pengikat dan templat model MVC.
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
Parameter
- html
- HtmlHelper
Instans pembantu HTML yang diperluas metode ini.
- format
- String
String format.
Mengembalikan
Markup HTML untuk nilai .