Delen via


HtmlHelper.GenerateTextArea Method

Definition

Generate a text area.

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

Parameters

modelExplorer
ModelExplorer

The ModelExplorer.

expression
String

The expression.

rows
Int32

The number of rows.

columns
Int32

The number of columns.

htmlAttributes
Object

An Object that contains the HTML attributes for the element. Alternatively, an IDictionary<TKey,TValue> instance containing the HTML attributes.

Returns

The IHtmlContent.

Applies to