HtmlHelper.TextArea(String, String, Int32, Int32, Object) メソッド

定義

指定した の <textarea> 要素を返します expression。 で見つかったModelState最初の非null値に基づいて、要素本体にコンテンツを追加します。完全な名前のエントリ、パラメーター、valueViewData完全な名前を持つエントリ、または にexpression対してModel評価された 。 "full name" の詳細については、「」を参照してください Name(String)

public:
 virtual Microsoft::AspNetCore::Html::IHtmlContent ^ TextArea(System::String ^ expression, System::String ^ value, int rows, int columns, System::Object ^ htmlAttributes);
public Microsoft.AspNetCore.Html.IHtmlContent TextArea (string expression, string value, int rows, int columns, object htmlAttributes);
abstract member TextArea : string * string * int * int * obj -> Microsoft.AspNetCore.Html.IHtmlContent
override this.TextArea : string * string * int * int * obj -> Microsoft.AspNetCore.Html.IHtmlContent
Public Function TextArea (expression As String, value As String, rows As Integer, columns As Integer, htmlAttributes As Object) As IHtmlContent

パラメーター

expression
String

現在のモデルを基準とした式名。

value
String

以外のnull場合は、 要素に含める値。

rows
Int32

テキストエリア内の行数。

columns
Int32

テキストエリア内の列の数。

htmlAttributes
Object

Object要素の HTML 属性を格納している 。 または、HTML 属性を IDictionary<TKey,TValue> 含むインスタンスです。

戻り値

textarea> 要素を<含む新しい IHtmlContent

実装

適用対象