TextAreaExtensions.TextArea 方法

定義

多載

TextArea(HtmlHelper, String)

使用指定的 HTML Helper 和表單欄位名稱,傳回指定的 textarea 元素。

TextArea(HtmlHelper, String, IDictionary<String,Object>)

使用指定的 HTML 協助程式、表單欄位的名稱和指定的 HTML 屬性,傳回指定的 textarea 元素。

TextArea(HtmlHelper, String, Object)

使用指定的 HTML 協助程式和 HTML 屬性,傳回指定的 textarea 元素。

TextArea(HtmlHelper, String, String)

使用指定的 HTML 協助程式、表單欄位的名稱和文字內容,傳回指定的 textarea 元素。

TextArea(HtmlHelper, String, String, IDictionary<String,Object>)

使用指定的 HTML 協助程式、表單欄位名稱、文字內容和指定的 HTML 屬性,傳回指定的 textarea 元素。

TextArea(HtmlHelper, String, String, Object)

使用指定的 HTML 協助程式、表單欄位名稱、文字內容和指定的 HTML 屬性,傳回指定的 textarea 元素。

TextArea(HtmlHelper, String, String, Int32, Int32, IDictionary<String,Object>)

使用指定的 HTML 協助程式、表單欄位的名稱、文字內容、資料列和資料行數目,以及指定的 HTML 屬性,傳回指定的 textarea 元素。

TextArea(HtmlHelper, String, String, Int32, Int32, Object)

使用指定的 HTML 協助程式、表單欄位的名稱、文字內容、資料列和資料行數目,以及指定的 HTML 屬性,傳回指定的 textarea 元素。

TextArea(HtmlHelper, String)

使用指定的 HTML Helper 和表單欄位名稱,傳回指定的 textarea 元素。

public static System.Web.Mvc.MvcHtmlString TextArea (this System.Web.Mvc.HtmlHelper htmlHelper, string name);
static member TextArea : System.Web.Mvc.HtmlHelper * string -> System.Web.Mvc.MvcHtmlString
<Extension()>
Public Function TextArea (htmlHelper As HtmlHelper, name As String) As MvcHtmlString

參數

htmlHelper
HtmlHelper

此方法擴充的 HTML Helper 執行個體。

name
String

要傳回的表單欄位名稱。

傳回

textarea 元素。

適用於

TextArea(HtmlHelper, String, IDictionary<String,Object>)

使用指定的 HTML 協助程式、表單欄位的名稱和指定的 HTML 屬性,傳回指定的 textarea 元素。

public static System.Web.Mvc.MvcHtmlString TextArea (this System.Web.Mvc.HtmlHelper htmlHelper, string name, System.Collections.Generic.IDictionary<string,object> htmlAttributes);
static member TextArea : System.Web.Mvc.HtmlHelper * string * System.Collections.Generic.IDictionary<string, obj> -> System.Web.Mvc.MvcHtmlString
<Extension()>
Public Function TextArea (htmlHelper As HtmlHelper, name As String, htmlAttributes As IDictionary(Of String, Object)) As MvcHtmlString

參數

htmlHelper
HtmlHelper

此方法擴充的 HTML Helper 執行個體。

name
String

要傳回的表單欄位名稱。

htmlAttributes
IDictionary<String,Object>

物件,包含要針對項目設定的 HTML 屬性。

傳回

textarea 元素。

適用於

TextArea(HtmlHelper, String, Object)

使用指定的 HTML 協助程式和 HTML 屬性,傳回指定的 textarea 元素。

public static System.Web.Mvc.MvcHtmlString TextArea (this System.Web.Mvc.HtmlHelper htmlHelper, string name, object htmlAttributes);
static member TextArea : System.Web.Mvc.HtmlHelper * string * obj -> System.Web.Mvc.MvcHtmlString
<Extension()>
Public Function TextArea (htmlHelper As HtmlHelper, name As String, htmlAttributes As Object) As MvcHtmlString

參數

htmlHelper
HtmlHelper

此方法擴充的 HTML Helper 執行個體。

name
String

要傳回的表單欄位名稱。

htmlAttributes
Object

物件,包含要針對項目設定的 HTML 屬性。

傳回

textarea 元素。

適用於

TextArea(HtmlHelper, String, String)

使用指定的 HTML 協助程式、表單欄位的名稱和文字內容,傳回指定的 textarea 元素。

public static System.Web.Mvc.MvcHtmlString TextArea (this System.Web.Mvc.HtmlHelper htmlHelper, string name, string value);
static member TextArea : System.Web.Mvc.HtmlHelper * string * string -> System.Web.Mvc.MvcHtmlString
<Extension()>
Public Function TextArea (htmlHelper As HtmlHelper, name As String, value As String) As MvcHtmlString

參數

htmlHelper
HtmlHelper

此方法擴充的 HTML Helper 執行個體。

name
String

要傳回的表單欄位名稱。

value
String

文字內容。

傳回

textarea 元素。

適用於

TextArea(HtmlHelper, String, String, IDictionary<String,Object>)

使用指定的 HTML 協助程式、表單欄位名稱、文字內容和指定的 HTML 屬性,傳回指定的 textarea 元素。

public static System.Web.Mvc.MvcHtmlString TextArea (this System.Web.Mvc.HtmlHelper htmlHelper, string name, string value, System.Collections.Generic.IDictionary<string,object> htmlAttributes);
static member TextArea : System.Web.Mvc.HtmlHelper * string * string * System.Collections.Generic.IDictionary<string, obj> -> System.Web.Mvc.MvcHtmlString
<Extension()>
Public Function TextArea (htmlHelper As HtmlHelper, name As String, value As String, htmlAttributes As IDictionary(Of String, Object)) As MvcHtmlString

參數

htmlHelper
HtmlHelper

此方法擴充的 HTML Helper 執行個體。

name
String

要傳回的表單欄位名稱。

value
String

文字內容。

htmlAttributes
IDictionary<String,Object>

物件,包含要針對項目設定的 HTML 屬性。

傳回

textarea 元素。

適用於

TextArea(HtmlHelper, String, String, Object)

使用指定的 HTML 協助程式、表單欄位名稱、文字內容和指定的 HTML 屬性,傳回指定的 textarea 元素。

public static System.Web.Mvc.MvcHtmlString TextArea (this System.Web.Mvc.HtmlHelper htmlHelper, string name, string value, object htmlAttributes);
static member TextArea : System.Web.Mvc.HtmlHelper * string * string * obj -> System.Web.Mvc.MvcHtmlString
<Extension()>
Public Function TextArea (htmlHelper As HtmlHelper, name As String, value As String, htmlAttributes As Object) As MvcHtmlString

參數

htmlHelper
HtmlHelper

此方法擴充的 HTML Helper 執行個體。

name
String

要傳回的表單欄位名稱。

value
String

文字內容。

htmlAttributes
Object

物件,包含要針對項目設定的 HTML 屬性。

傳回

textarea 元素。

適用於

TextArea(HtmlHelper, String, String, Int32, Int32, IDictionary<String,Object>)

使用指定的 HTML 協助程式、表單欄位的名稱、文字內容、資料列和資料行數目,以及指定的 HTML 屬性,傳回指定的 textarea 元素。

public static System.Web.Mvc.MvcHtmlString TextArea (this System.Web.Mvc.HtmlHelper htmlHelper, string name, string value, int rows, int columns, System.Collections.Generic.IDictionary<string,object> htmlAttributes);
static member TextArea : System.Web.Mvc.HtmlHelper * string * string * int * int * System.Collections.Generic.IDictionary<string, obj> -> System.Web.Mvc.MvcHtmlString
<Extension()>
Public Function TextArea (htmlHelper As HtmlHelper, name As String, value As String, rows As Integer, columns As Integer, htmlAttributes As IDictionary(Of String, Object)) As MvcHtmlString

參數

htmlHelper
HtmlHelper

此方法擴充的 HTML Helper 執行個體。

name
String

要傳回的表單欄位名稱。

value
String

文字內容。

rows
Int32

列的數目。

columns
Int32

行數。

htmlAttributes
IDictionary<String,Object>

物件,包含要針對項目設定的 HTML 屬性。

傳回

textarea 元素。

適用於

TextArea(HtmlHelper, String, String, Int32, Int32, Object)

使用指定的 HTML 協助程式、表單欄位的名稱、文字內容、資料列和資料行數目,以及指定的 HTML 屬性,傳回指定的 textarea 元素。

public static System.Web.Mvc.MvcHtmlString TextArea (this System.Web.Mvc.HtmlHelper htmlHelper, string name, string value, int rows, int columns, object htmlAttributes);
static member TextArea : System.Web.Mvc.HtmlHelper * string * string * int * int * obj -> System.Web.Mvc.MvcHtmlString
<Extension()>
Public Function TextArea (htmlHelper As HtmlHelper, name As String, value As String, rows As Integer, columns As Integer, htmlAttributes As Object) As MvcHtmlString

參數

htmlHelper
HtmlHelper

此方法擴充的 HTML Helper 執行個體。

name
String

要傳回的表單欄位名稱。

value
String

文字內容。

rows
Int32

列的數目。

columns
Int32

行數。

htmlAttributes
Object

物件,包含要針對項目設定的 HTML 屬性。

傳回

textarea 元素。

適用於