Sdílet prostřednictvím


HtmlHelper.GenerateTextArea Metoda

Definice

Vygenerujte textovou oblast.

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

Hodnota ModelExplorer

expression
String

Výraz

rows
Int32

Počet řádků

columns
Int32

Počet sloupců

htmlAttributes
Object

Obsahuje Object atributy HTML elementu . Alternativně instance IDictionary<TKey,TValue> obsahující atributy HTML.

Návraty

Hodnota IHtmlContent

Platí pro