TextAreaExtensions.TextArea Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
TextArea(HtmlHelper, String) |
Returns the specified textarea element by using the specified HTML helper and the name of the form field. |
TextArea(HtmlHelper, String, IDictionary<String,Object>) |
Returns the specified textarea element by using the specified HTML helper, the name of the form field, and the specified HTML attributes. |
TextArea(HtmlHelper, String, Object) |
Returns the specified textarea element by using the specified HTML helper and HTML attributes. |
TextArea(HtmlHelper, String, String) |
Returns the specified textarea element by using the specified HTML helper, the name of the form field, and the text content. |
TextArea(HtmlHelper, String, String, IDictionary<String,Object>) |
Returns the specified textarea element by using the specified HTML helper, the name of the form field, the text content, and the specified HTML attributes. |
TextArea(HtmlHelper, String, String, Object) |
Returns the specified textarea element by using the specified HTML helper, the name of the form field, the text content, and the specified HTML attributes. |
TextArea(HtmlHelper, String, String, Int32, Int32, IDictionary<String,Object>) |
Returns the specified textarea element by using the specified HTML helper, the name of the form field, the text content, the number of rows and columns, and the specified HTML attributes. |
TextArea(HtmlHelper, String, String, Int32, Int32, Object) |
Returns the specified textarea element by using the specified HTML helper, the name of the form field, the text content, the number of rows and columns, and the specified HTML attributes. |
TextArea(HtmlHelper, String)
Returns the specified textarea element by using the specified HTML helper and the name of the form field.
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
Parameters
- htmlHelper
- HtmlHelper
The HTML helper instance that this method extends.
- name
- String
The name of the form field to return.
Returns
The textarea element.
Applies to
TextArea(HtmlHelper, String, IDictionary<String,Object>)
Returns the specified textarea element by using the specified HTML helper, the name of the form field, and the specified HTML attributes.
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
Parameters
- htmlHelper
- HtmlHelper
The HTML helper instance that this method extends.
- name
- String
The name of the form field to return.
- htmlAttributes
- IDictionary<String,Object>
An object that contains the HTML attributes to set for the element.
Returns
The textarea element.
Applies to
TextArea(HtmlHelper, String, Object)
Returns the specified textarea element by using the specified HTML helper and HTML attributes.
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
Parameters
- htmlHelper
- HtmlHelper
The HTML helper instance that this method extends.
- name
- String
The name of the form field to return.
- htmlAttributes
- Object
An object that contains the HTML attributes to set for the element.
Returns
The textarea element.
Applies to
TextArea(HtmlHelper, String, String)
Returns the specified textarea element by using the specified HTML helper, the name of the form field, and the text content.
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
Parameters
- htmlHelper
- HtmlHelper
The HTML helper instance that this method extends.
- name
- String
The name of the form field to return.
- value
- String
The text content.
Returns
The textarea element.
Applies to
TextArea(HtmlHelper, String, String, IDictionary<String,Object>)
Returns the specified textarea element by using the specified HTML helper, the name of the form field, the text content, and the specified HTML attributes.
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
Parameters
- htmlHelper
- HtmlHelper
The HTML helper instance that this method extends.
- name
- String
The name of the form field to return.
- value
- String
The text content.
- htmlAttributes
- IDictionary<String,Object>
An object that contains the HTML attributes to set for the element.
Returns
The textarea element.
Applies to
TextArea(HtmlHelper, String, String, Object)
Returns the specified textarea element by using the specified HTML helper, the name of the form field, the text content, and the specified HTML attributes.
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
Parameters
- htmlHelper
- HtmlHelper
The HTML helper instance that this method extends.
- name
- String
The name of the form field to return.
- value
- String
The text content.
- htmlAttributes
- Object
An object that contains the HTML attributes to set for the element.
Returns
The textarea element.
Applies to
TextArea(HtmlHelper, String, String, Int32, Int32, IDictionary<String,Object>)
Returns the specified textarea element by using the specified HTML helper, the name of the form field, the text content, the number of rows and columns, and the specified HTML attributes.
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
Parameters
- htmlHelper
- HtmlHelper
The HTML helper instance that this method extends.
- name
- String
The name of the form field to return.
- value
- String
The text content.
- rows
- Int32
The number of rows.
- columns
- Int32
The number of columns.
- htmlAttributes
- IDictionary<String,Object>
An object that contains the HTML attributes to set for the element.
Returns
The textarea element.
Applies to
TextArea(HtmlHelper, String, String, Int32, Int32, Object)
Returns the specified textarea element by using the specified HTML helper, the name of the form field, the text content, the number of rows and columns, and the specified HTML attributes.
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
Parameters
- htmlHelper
- HtmlHelper
The HTML helper instance that this method extends.
- name
- String
The name of the form field to return.
- value
- String
The text content.
- rows
- Int32
The number of rows.
- columns
- Int32
The number of columns.
- htmlAttributes
- Object
An object that contains the HTML attributes to set for the element.
Returns
The textarea element.