InputExtensions.TextBoxFor Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Aşırı Yüklemeler
TextBoxFor<TModel,TProperty>(HtmlHelper<TModel>, Expression<Func<TModel,TProperty>>, String)
Bir metin girişi öğesi döndürür.
public static System.Web.Mvc.MvcHtmlString TextBoxFor<TModel,TProperty> (this System.Web.Mvc.HtmlHelper<TModel> htmlHelper, System.Linq.Expressions.Expression<Func<TModel,TProperty>> expression, string format);
static member TextBoxFor : System.Web.Mvc.HtmlHelper<'Model> * System.Linq.Expressions.Expression<Func<'Model, 'Property>> * string -> System.Web.Mvc.MvcHtmlString
<Extension()>
Public Function TextBoxFor(Of TModel, TProperty) (htmlHelper As HtmlHelper(Of TModel), expression As Expression(Of Func(Of TModel, TProperty)), format As String) As MvcHtmlString
Tür Parametreleri
- TModel
Modelin türü.
- TProperty
Değerin türü.
Parametreler
- htmlHelper
- HtmlHelper<TModel>
Bu yöntemin genişletir HTML yardımcı örneği.
- expression
- Expression<Func<TModel,TProperty>>
Görüntülenecek özellikleri içeren nesneyi tanımlayan ifade.
- format
- String
Girişi biçimlendirmek için kullanılan dize.
Döndürülenler
Tür özniteliği "text" olarak ayarlanmış bir giriş öğesi.
Şunlara uygulanır
TextBoxFor<TModel,TProperty>(HtmlHelper<TModel>, Expression<Func<TModel,TProperty>>, Object)
Belirtilen HTML özniteliklerini kullanarak, belirtilen ifadeyle temsil edilen nesnedeki her özellik için bir metin giriş öğesi döndürür.
public static System.Web.Mvc.MvcHtmlString TextBoxFor<TModel,TProperty> (this System.Web.Mvc.HtmlHelper<TModel> htmlHelper, System.Linq.Expressions.Expression<Func<TModel,TProperty>> expression, object htmlAttributes);
static member TextBoxFor : System.Web.Mvc.HtmlHelper<'Model> * System.Linq.Expressions.Expression<Func<'Model, 'Property>> * obj -> System.Web.Mvc.MvcHtmlString
<Extension()>
Public Function TextBoxFor(Of TModel, TProperty) (htmlHelper As HtmlHelper(Of TModel), expression As Expression(Of Func(Of TModel, TProperty)), htmlAttributes As Object) As MvcHtmlString
Tür Parametreleri
- TModel
Modelin türü.
- TProperty
Değerin türü.
Parametreler
- htmlHelper
- HtmlHelper<TModel>
Bu yöntemin genişletir HTML yardımcı örneği.
- expression
- Expression<Func<TModel,TProperty>>
İşlenmek üzere özellikleri içeren nesneyi tanımlayan bir ifade.
- htmlAttributes
- Object
öğesi için ayarlanacağı HTML özniteliklerini içeren bir nesne.
Döndürülenler
İfadeyle temsil edilen nesnedeki her özellik için tür özniteliği "text" olarak ayarlanmış bir HTML giriş öğesi.
Özel durumlar
expression Parametre null veya boş.
Şunlara uygulanır
TextBoxFor<TModel,TProperty>(HtmlHelper<TModel>, Expression<Func<TModel,TProperty>>, String, IDictionary<String,Object>)
Bir metin girişi öğesi döndürür.
public static System.Web.Mvc.MvcHtmlString TextBoxFor<TModel,TProperty> (this System.Web.Mvc.HtmlHelper<TModel> htmlHelper, System.Linq.Expressions.Expression<Func<TModel,TProperty>> expression, string format, System.Collections.Generic.IDictionary<string,object> htmlAttributes);
static member TextBoxFor : System.Web.Mvc.HtmlHelper<'Model> * System.Linq.Expressions.Expression<Func<'Model, 'Property>> * string * System.Collections.Generic.IDictionary<string, obj> -> System.Web.Mvc.MvcHtmlString
<Extension()>
Public Function TextBoxFor(Of TModel, TProperty) (htmlHelper As HtmlHelper(Of TModel), expression As Expression(Of Func(Of TModel, TProperty)), format As String, htmlAttributes As IDictionary(Of String, Object)) As MvcHtmlString
Tür Parametreleri
- TModel
Modelin türü.
- TProperty
Değerin türü.
Parametreler
- htmlHelper
- HtmlHelper<TModel>
Bu yöntemin genişletir HTML yardımcı örneği.
- expression
- Expression<Func<TModel,TProperty>>
Görüntülenecek özellikleri içeren nesneyi tanımlayan ifade.
- format
- String
Girişi biçimlendirmek için kullanılan dize.
- htmlAttributes
- IDictionary<String,Object>
öğesi için ayarlanacağı HTML özniteliklerini içeren bir nesne.
Döndürülenler
Tür özniteliği "text" olarak ayarlanmış bir giriş öğesi.
Şunlara uygulanır
TextBoxFor<TModel,TProperty>(HtmlHelper<TModel>, Expression<Func<TModel,TProperty>>)
Belirtilen ifadeyle temsil edilen nesnedeki her özellik için bir metin giriş öğesi döndürür.
public static System.Web.Mvc.MvcHtmlString TextBoxFor<TModel,TProperty> (this System.Web.Mvc.HtmlHelper<TModel> htmlHelper, System.Linq.Expressions.Expression<Func<TModel,TProperty>> expression);
static member TextBoxFor : System.Web.Mvc.HtmlHelper<'Model> * System.Linq.Expressions.Expression<Func<'Model, 'Property>> -> System.Web.Mvc.MvcHtmlString
<Extension()>
Public Function TextBoxFor(Of TModel, TProperty) (htmlHelper As HtmlHelper(Of TModel), expression As Expression(Of Func(Of TModel, TProperty))) As MvcHtmlString
Tür Parametreleri
- TModel
Modelin türü.
- TProperty
Değerin türü.
Parametreler
- htmlHelper
- HtmlHelper<TModel>
Bu yöntemin genişletir HTML yardımcı örneği.
- expression
- Expression<Func<TModel,TProperty>>
İşlenmek üzere özellikleri içeren nesneyi tanımlayan bir ifade.
Döndürülenler
İfadeyle temsil edilen nesnedeki her özellik için tür özniteliği "text" olarak ayarlanmış bir HTML giriş öğesi.
Özel durumlar
expression Parametre null veya boş.
Şunlara uygulanır
TextBoxFor<TModel,TProperty>(HtmlHelper<TModel>, Expression<Func<TModel,TProperty>>, IDictionary<String,Object>)
Belirtilen HTML özniteliklerini kullanarak, belirtilen ifadeyle temsil edilen nesnedeki her özellik için bir metin giriş öğesi döndürür.
public static System.Web.Mvc.MvcHtmlString TextBoxFor<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 TextBoxFor : 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 TextBoxFor(Of TModel, TProperty) (htmlHelper As HtmlHelper(Of TModel), expression As Expression(Of Func(Of TModel, TProperty)), htmlAttributes As IDictionary(Of String, Object)) As MvcHtmlString
Tür Parametreleri
- TModel
Modelin türü.
- TProperty
Değerin türü.
Parametreler
- htmlHelper
- HtmlHelper<TModel>
Bu yöntemin genişletir HTML yardımcı örneği.
- expression
- Expression<Func<TModel,TProperty>>
İşlenmek üzere özellikleri içeren nesneyi tanımlayan bir ifade.
- htmlAttributes
- IDictionary<String,Object>
öğesi için ayarlanacağı HTML özniteliklerini içeren sözlük.
Döndürülenler
bir HTML giriş öğesi türü özniteliği, ifadeyle temsil edilen nesnedeki her özellik için "text" olarak ayarlanır.
Özel durumlar
expression Parametre null veya boş.
Şunlara uygulanır
TextBoxFor<TModel,TProperty>(HtmlHelper<TModel>, Expression<Func<TModel,TProperty>>, String, Object)
Bir metin girişi öğesi döndürür.
public static System.Web.Mvc.MvcHtmlString TextBoxFor<TModel,TProperty> (this System.Web.Mvc.HtmlHelper<TModel> htmlHelper, System.Linq.Expressions.Expression<Func<TModel,TProperty>> expression, string format, object htmlAttributes);
static member TextBoxFor : System.Web.Mvc.HtmlHelper<'Model> * System.Linq.Expressions.Expression<Func<'Model, 'Property>> * string * obj -> System.Web.Mvc.MvcHtmlString
<Extension()>
Public Function TextBoxFor(Of TModel, TProperty) (htmlHelper As HtmlHelper(Of TModel), expression As Expression(Of Func(Of TModel, TProperty)), format As String, htmlAttributes As Object) As MvcHtmlString
Tür Parametreleri
- TModel
Modelin türü.
- TProperty
Değerin türü.
Parametreler
- htmlHelper
- HtmlHelper<TModel>
Bu yöntemin genişletir HTML yardımcı örneği.
- expression
- Expression<Func<TModel,TProperty>>
Görüntülenecek özellikleri içeren nesneyi tanımlayan ifade.
- format
- String
Girişi biçimlendirmek için kullanılan dize.
- htmlAttributes
- Object
öğesi için ayarlanacağı HTML özniteliklerini içeren bir nesne.
Döndürülenler
Tür özniteliği "text" olarak ayarlanmış bir giriş öğesi.