共用方式為


HtmlHelper.GenerateTextArea 方法

定義

產生文字區域。

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

參數

modelExplorer
ModelExplorer

ModelExplorer

expression
String

運算式。

rows
Int32

列的數目。

columns
Int32

行數。

htmlAttributes
Object

Object,包含 專案的 HTML 屬性。 或者,包含 IDictionary<TKey,TValue> HTML 屬性的實例。

傳回

IHtmlContent

適用於