TextAreaExtensions.TextAreaFor 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
| TextAreaFor<TModel,TProperty>(HtmlHelper<TModel>, Expression<Func<TModel,TProperty>>) |
Mengembalikan elemen textarea HTML untuk setiap properti dalam objek yang diwakili oleh ekspresi yang ditentukan. |
| TextAreaFor<TModel,TProperty>(HtmlHelper<TModel>, Expression<Func<TModel,TProperty>>, IDictionary<String,Object>) |
Mengembalikan elemen textarea HTML untuk setiap properti dalam objek yang diwakili oleh ekspresi yang ditentukan menggunakan atribut HTML yang ditentukan. |
| TextAreaFor<TModel,TProperty>(HtmlHelper<TModel>, Expression<Func<TModel,TProperty>>, Object) |
Mengembalikan elemen textarea HTML untuk setiap properti dalam objek yang diwakili oleh ekspresi yang ditentukan menggunakan atribut HTML yang ditentukan. |
| TextAreaFor<TModel,TProperty>(HtmlHelper<TModel>, Expression<Func<TModel,TProperty>>, Int32, Int32, IDictionary<String,Object>) |
Mengembalikan elemen textarea HTML untuk setiap properti dalam objek yang diwakili oleh ekspresi yang ditentukan menggunakan atribut HTML yang ditentukan dan jumlah baris dan kolom. |
| TextAreaFor<TModel,TProperty>(HtmlHelper<TModel>, Expression<Func<TModel,TProperty>>, Int32, Int32, Object) |
Mengembalikan elemen textarea HTML untuk setiap properti dalam objek yang diwakili oleh ekspresi yang ditentukan menggunakan atribut HTML yang ditentukan dan jumlah baris dan kolom. |
TextAreaFor<TModel,TProperty>(HtmlHelper<TModel>, Expression<Func<TModel,TProperty>>)
Mengembalikan elemen textarea HTML untuk setiap properti dalam objek yang diwakili oleh ekspresi yang ditentukan.
public static System.Web.Mvc.MvcHtmlString TextAreaFor<TModel,TProperty> (this System.Web.Mvc.HtmlHelper<TModel> htmlHelper, System.Linq.Expressions.Expression<Func<TModel,TProperty>> expression);
static member TextAreaFor : System.Web.Mvc.HtmlHelper<'Model> * System.Linq.Expressions.Expression<Func<'Model, 'Property>> -> System.Web.Mvc.MvcHtmlString
<Extension()>
Public Function TextAreaFor(Of TModel, TProperty) (htmlHelper As HtmlHelper(Of TModel), expression As Expression(Of Func(Of TModel, TProperty))) As MvcHtmlString
Jenis parameter
- TModel
Jenis model.
- TProperty
Jenis properti.
Parameter
- htmlHelper
- HtmlHelper<TModel>
Instans pembantu HTML yang diperluas metode ini.
- expression
- Expression<Func<TModel,TProperty>>
Ekspresi yang mengidentifikasi objek yang berisi properti yang akan dirender.
Mengembalikan
Elemen textarea HTML untuk setiap properti dalam objek yang diwakili oleh ekspresi.
Pengecualian
Parameternya expression null.
Berlaku untuk
TextAreaFor<TModel,TProperty>(HtmlHelper<TModel>, Expression<Func<TModel,TProperty>>, IDictionary<String,Object>)
Mengembalikan elemen textarea HTML untuk setiap properti dalam objek yang diwakili oleh ekspresi yang ditentukan menggunakan atribut HTML yang ditentukan.
public static System.Web.Mvc.MvcHtmlString TextAreaFor<TModel,TProperty> (this System.Web.Mvc.HtmlHelper<TModel> htmlHelper, System.Linq.Expressions.Expression<Func<TModel,TProperty>> expression, System.Collections.Generic.IDictionary<string,object> htmlAttributes);
static member TextAreaFor : System.Web.Mvc.HtmlHelper<'Model> * System.Linq.Expressions.Expression<Func<'Model, 'Property>> * System.Collections.Generic.IDictionary<string, obj> -> System.Web.Mvc.MvcHtmlString
<Extension()>
Public Function TextAreaFor(Of TModel, TProperty) (htmlHelper As HtmlHelper(Of TModel), expression As Expression(Of Func(Of TModel, TProperty)), htmlAttributes As IDictionary(Of String, Object)) As MvcHtmlString
Jenis parameter
- TModel
Jenis model.
- TProperty
Jenis properti.
Parameter
- htmlHelper
- HtmlHelper<TModel>
Instans pembantu HTML yang diperluas metode ini.
- expression
- Expression<Func<TModel,TProperty>>
Ekspresi yang mengidentifikasi objek yang berisi properti yang akan dirender.
- htmlAttributes
- IDictionary<String,Object>
Kamus yang berisi atribut HTML yang akan diatur untuk elemen .
Mengembalikan
Elemen textarea HTML untuk setiap properti dalam objek yang diwakili oleh ekspresi.
Pengecualian
Parameternya expression null.
Berlaku untuk
TextAreaFor<TModel,TProperty>(HtmlHelper<TModel>, Expression<Func<TModel,TProperty>>, Object)
Mengembalikan elemen textarea HTML untuk setiap properti dalam objek yang diwakili oleh ekspresi yang ditentukan menggunakan atribut HTML yang ditentukan.
public static System.Web.Mvc.MvcHtmlString TextAreaFor<TModel,TProperty> (this System.Web.Mvc.HtmlHelper<TModel> htmlHelper, System.Linq.Expressions.Expression<Func<TModel,TProperty>> expression, object htmlAttributes);
static member TextAreaFor : System.Web.Mvc.HtmlHelper<'Model> * System.Linq.Expressions.Expression<Func<'Model, 'Property>> * obj -> System.Web.Mvc.MvcHtmlString
<Extension()>
Public Function TextAreaFor(Of TModel, TProperty) (htmlHelper As HtmlHelper(Of TModel), expression As Expression(Of Func(Of TModel, TProperty)), htmlAttributes As Object) As MvcHtmlString
Jenis parameter
- TModel
Jenis model.
- TProperty
Jenis properti.
Parameter
- htmlHelper
- HtmlHelper<TModel>
Instans pembantu HTML yang diperluas metode ini.
- expression
- Expression<Func<TModel,TProperty>>
Ekspresi yang mengidentifikasi objek yang berisi properti yang akan dirender.
- htmlAttributes
- Object
Kamus yang berisi atribut HTML yang akan diatur untuk elemen .
Mengembalikan
Elemen textarea HTML untuk setiap properti dalam objek yang diwakili oleh ekspresi.
Pengecualian
Parameternya expression null.
Berlaku untuk
TextAreaFor<TModel,TProperty>(HtmlHelper<TModel>, Expression<Func<TModel,TProperty>>, Int32, Int32, IDictionary<String,Object>)
Mengembalikan elemen textarea HTML untuk setiap properti dalam objek yang diwakili oleh ekspresi yang ditentukan menggunakan atribut HTML yang ditentukan dan jumlah baris dan kolom.
public static System.Web.Mvc.MvcHtmlString TextAreaFor<TModel,TProperty> (this System.Web.Mvc.HtmlHelper<TModel> htmlHelper, System.Linq.Expressions.Expression<Func<TModel,TProperty>> expression, int rows, int columns, System.Collections.Generic.IDictionary<string,object> htmlAttributes);
static member TextAreaFor : System.Web.Mvc.HtmlHelper<'Model> * System.Linq.Expressions.Expression<Func<'Model, 'Property>> * int * int * System.Collections.Generic.IDictionary<string, obj> -> System.Web.Mvc.MvcHtmlString
<Extension()>
Public Function TextAreaFor(Of TModel, TProperty) (htmlHelper As HtmlHelper(Of TModel), expression As Expression(Of Func(Of TModel, TProperty)), rows As Integer, columns As Integer, htmlAttributes As IDictionary(Of String, Object)) As MvcHtmlString
Jenis parameter
- TModel
Jenis model.
- TProperty
Jenis properti.
Parameter
- htmlHelper
- HtmlHelper<TModel>
Instans pembantu HTML yang diperluas metode ini.
- expression
- Expression<Func<TModel,TProperty>>
Ekspresi yang mengidentifikasi objek yang berisi properti yang akan dirender.
- rows
- Int32
Jumlah baris.
- columns
- Int32
Jumlah kolom.
- htmlAttributes
- IDictionary<String,Object>
Kamus yang berisi atribut HTML yang akan diatur untuk elemen .
Mengembalikan
Elemen textarea HTML untuk setiap properti dalam objek yang diwakili oleh ekspresi.
Pengecualian
Parameternya expression null.
Berlaku untuk
TextAreaFor<TModel,TProperty>(HtmlHelper<TModel>, Expression<Func<TModel,TProperty>>, Int32, Int32, Object)
Mengembalikan elemen textarea HTML untuk setiap properti dalam objek yang diwakili oleh ekspresi yang ditentukan menggunakan atribut HTML yang ditentukan dan jumlah baris dan kolom.
public static System.Web.Mvc.MvcHtmlString TextAreaFor<TModel,TProperty> (this System.Web.Mvc.HtmlHelper<TModel> htmlHelper, System.Linq.Expressions.Expression<Func<TModel,TProperty>> expression, int rows, int columns, object htmlAttributes);
static member TextAreaFor : System.Web.Mvc.HtmlHelper<'Model> * System.Linq.Expressions.Expression<Func<'Model, 'Property>> * int * int * obj -> System.Web.Mvc.MvcHtmlString
<Extension()>
Public Function TextAreaFor(Of TModel, TProperty) (htmlHelper As HtmlHelper(Of TModel), expression As Expression(Of Func(Of TModel, TProperty)), rows As Integer, columns As Integer, htmlAttributes As Object) As MvcHtmlString
Jenis parameter
- TModel
Jenis model.
- TProperty
Jenis properti.
Parameter
- htmlHelper
- HtmlHelper<TModel>
Instans pembantu HTML yang diperluas metode ini.
- expression
- Expression<Func<TModel,TProperty>>
Ekspresi yang mengidentifikasi objek yang berisi properti yang akan dirender.
- rows
- Int32
Jumlah baris.
- columns
- Int32
Jumlah kolom.
- htmlAttributes
- Object
Kamus yang berisi atribut HTML yang akan diatur untuk elemen .
Mengembalikan
Elemen textarea HTML untuk setiap properti dalam objek yang diwakili oleh ekspresi.
Pengecualian
Parameternya expression null.