HtmlHelper.GenerateTextArea 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
產生文字區域。
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
- expression
- String
運算式。
- rows
- Int32
列的數目。
- columns
- Int32
行數。
- htmlAttributes
- Object
Object,包含 專案的 HTML 屬性。 或者,包含 IDictionary<TKey,TValue> HTML 屬性的實例。