Udostępnij za pośrednictwem


HtmlHelper.GenerateTextArea Metoda

Definicja

Wygeneruj obszar tekstowy.

protected:
 virtual Microsoft::AspNetCore::Html::IHtmlContent ^ GenerateTextArea(Microsoft::AspNetCore::Mvc::ViewFeatures::ModelExplorer ^ modelExplorer, System::String ^ expression, int rows, int columns, System::Object ^ htmlAttributes);
protected virtual Microsoft.AspNetCore.Html.IHtmlContent GenerateTextArea (Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer modelExplorer, string expression, int rows, int columns, object htmlAttributes);
abstract member GenerateTextArea : Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer * string * int * int * obj -> Microsoft.AspNetCore.Html.IHtmlContent
override this.GenerateTextArea : Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer * string * int * int * obj -> Microsoft.AspNetCore.Html.IHtmlContent
Protected Overridable Function GenerateTextArea (modelExplorer As ModelExplorer, expression As String, rows As Integer, columns As Integer, htmlAttributes As Object) As IHtmlContent

Parametry

modelExplorer
ModelExplorer

Element ModelExplorer.

expression
String

Wyrażenie.

rows
Int32

Liczba wierszy.

columns
Int32

Liczba kolumn

htmlAttributes
Object

Element Object zawierający atrybuty HTML elementu. Alternatywnie IDictionary<TKey,TValue> wystąpienie zawierające atrybuty HTML.

Zwraca

Element IHtmlContent.

Dotyczy