Condividi tramite


HtmlHelper.TextArea Metodo

Definizione

Overload

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

Restituisce un controllo input di testo a più righe HTML (area di testo) con il nome, il valore, l'attributo di riga, l'attributo col e gli attributi personalizzati definiti da un oggetto attributo.

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

Restituisce un controllo input di testo a più righe HTML (area di testo) con il nome, il valore, l'attributo di riga, l'attributo col e gli attributi personalizzati definiti da un dizionario di attributi.

TextArea(String, String, Object)

Restituisce un controllo input di testo multilinea HTML (area di testo) che ha il nome specificato, il valore e attributi personalizzati definiti da un oggetto attributo.

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

Restituisce un controllo input di testo multilinea HTML (area di testo) che ha il nome specificato, il valore e attributi personalizzati definiti da un dizionario degli attributi.

TextArea(String, IDictionary<String,Object>)

Restituisce un controllo input di testo multilinea HTML (area di testo) che ha il nome specificato e attributi personalizzati definiti da un dizionario degli attributi.

TextArea(String, Object)

Restituisce un controllo input di testo multilinea HTML (area di testo) che ha il nome specificato e attributi personalizzati definiti da un oggetto attributo.

TextArea(String)

Restituisce un controllo input di testo multilinea HTML (area di testo) che ha il nome specificato.

TextArea(String, String)

Restituisce un controllo input di testo multilinea HTML (area di testo) che ha il nome e il valore specificati.

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

Restituisce un controllo input di testo a più righe HTML (area di testo) con il nome, il valore, l'attributo di riga, l'attributo col e gli attributi personalizzati definiti da un oggetto attributo.

public System.Web.IHtmlString TextArea (string name, string value, int rows, int columns, object htmlAttributes);
member this.TextArea : string * string * int * int * obj -> System.Web.IHtmlString
Public Function TextArea (name As String, value As String, rows As Integer, columns As Integer, htmlAttributes As Object) As IHtmlString

Parametri

name
String

Valore da assegnare all'attributo name dell'elemento textarea HTML.

value
String

Testo da visualizzare.

rows
Int32

Valore da assegnare all'attributo rows dell'elemento.

columns
Int32

Valore da assegnare all'attributo cols dell'elemento.

htmlAttributes
Object

Oggetto contenente gli attributi personalizzati per l'elemento. I nomi e i valori degli attributi vengono recuperati tramite reflection esaminando le proprietà dell'oggetto.

Restituisce

Markup HTML che rappresenta il controllo area di testo.

Eccezioni

Sytem.ArgumentException

name è Null o vuoto.

Si applica a

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

Restituisce un controllo input di testo a più righe HTML (area di testo) con il nome, il valore, l'attributo di riga, l'attributo col e gli attributi personalizzati definiti da un dizionario di attributi.

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

Parametri

name
String

Valore da assegnare all'attributo name dell'elemento textarea HTML.

value
String

Testo da visualizzare.

rows
Int32

Valore da assegnare all'attributo rows dell'elemento.

columns
Int32

Valore da assegnare all'attributo cols dell'elemento.

htmlAttributes
IDictionary<String,Object>

Nomi e valori di attributi personalizzati per l'elemento.

Restituisce

Markup HTML che rappresenta il controllo area di testo.

Eccezioni

Sytem.ArgumentException

name è Null o vuoto.

Si applica a

TextArea(String, String, Object)

Restituisce un controllo input di testo multilinea HTML (area di testo) che ha il nome specificato, il valore e attributi personalizzati definiti da un oggetto attributo.

public System.Web.IHtmlString TextArea (string name, string value, object htmlAttributes);
member this.TextArea : string * string * obj -> System.Web.IHtmlString
Public Function TextArea (name As String, value As String, htmlAttributes As Object) As IHtmlString

Parametri

name
String

Valore da assegnare all'attributo name dell'elemento textarea HTML.

value
String

Testo da visualizzare.

htmlAttributes
Object

Oggetto contenente gli attributi personalizzati per l'elemento. I nomi e i valori degli attributi vengono recuperati tramite reflection esaminando le proprietà dell'oggetto.

Restituisce

Markup HTML che rappresenta il controllo area di testo.

Eccezioni

Sytem.ArgumentException

name è Null o vuoto.

Si applica a

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

Restituisce un controllo input di testo multilinea HTML (area di testo) che ha il nome specificato, il valore e attributi personalizzati definiti da un dizionario degli attributi.

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

Parametri

name
String

Valore da assegnare all'attributo name dell'elemento textarea HTML.

value
String

Testo da visualizzare.

htmlAttributes
IDictionary<String,Object>

Nomi e valori di attributi personalizzati per l'elemento.

Restituisce

Markup HTML che rappresenta il controllo area di testo.

Eccezioni

Sytem.ArgumentException

name è Null o vuoto.

Si applica a

TextArea(String, IDictionary<String,Object>)

Restituisce un controllo input di testo multilinea HTML (area di testo) che ha il nome specificato e attributi personalizzati definiti da un dizionario degli attributi.

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

Parametri

name
String

Valore da assegnare all'attributo name dell'elemento textarea HTML.

htmlAttributes
IDictionary<String,Object>

Nomi e valori di attributi personalizzati per l'elemento.

Restituisce

Markup HTML che rappresenta il controllo area di testo.

Eccezioni

Sytem.ArgumentException

name è Null o vuoto.

Si applica a

TextArea(String, Object)

Restituisce un controllo input di testo multilinea HTML (area di testo) che ha il nome specificato e attributi personalizzati definiti da un oggetto attributo.

public System.Web.IHtmlString TextArea (string name, object htmlAttributes);
member this.TextArea : string * obj -> System.Web.IHtmlString
Public Function TextArea (name As String, htmlAttributes As Object) As IHtmlString

Parametri

name
String

Valore da assegnare all'attributo name dell'elemento textarea HTML.

htmlAttributes
Object

Oggetto contenente gli attributi personalizzati per l'elemento. I nomi e i valori degli attributi vengono recuperati tramite reflection esaminando le proprietà dell'oggetto.

Restituisce

Markup HTML che rappresenta il controllo area di testo.

Eccezioni

Sytem.ArgumentException

name è Null o vuoto.

Si applica a

TextArea(String)

Restituisce un controllo input di testo multilinea HTML (area di testo) che ha il nome specificato.

public System.Web.IHtmlString TextArea (string name);
member this.TextArea : string -> System.Web.IHtmlString
Public Function TextArea (name As String) As IHtmlString

Parametri

name
String

Valore da assegnare all'attributo name dell'elemento textarea HTML.

Restituisce

Markup HTML che rappresenta il controllo area di testo.

Eccezioni

Sytem.ArgumentException

name è Null o vuoto.

Si applica a

TextArea(String, String)

Restituisce un controllo input di testo multilinea HTML (area di testo) che ha il nome e il valore specificati.

public System.Web.IHtmlString TextArea (string name, string value);
member this.TextArea : string * string -> System.Web.IHtmlString
Public Function TextArea (name As String, value As String) As IHtmlString

Parametri

name
String

Valore da assegnare all'attributo name dell'elemento textrarea HTML.

value
String

Testo da visualizzare.

Restituisce

Markup HTML che rappresenta il controllo area di testo.

Eccezioni

Sytem.ArgumentException

name è Null o vuoto.

Si applica a