Bagikan melalui


DefaultHtmlGenerator.GenerateTextArea Metode

Definisi

<Menghasilkan elemen textarea>

public:
 virtual Microsoft::AspNetCore::Mvc::Rendering::TagBuilder ^ GenerateTextArea(Microsoft::AspNetCore::Mvc::Rendering::ViewContext ^ viewContext, Microsoft::AspNetCore::Mvc::ViewFeatures::ModelExplorer ^ modelExplorer, System::String ^ expression, int rows, int columns, System::Object ^ htmlAttributes);
public virtual Microsoft.AspNetCore.Mvc.Rendering.TagBuilder GenerateTextArea (Microsoft.AspNetCore.Mvc.Rendering.ViewContext viewContext, Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer modelExplorer, string expression, int rows, int columns, object htmlAttributes);
abstract member GenerateTextArea : Microsoft.AspNetCore.Mvc.Rendering.ViewContext * Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer * string * int * int * obj -> Microsoft.AspNetCore.Mvc.Rendering.TagBuilder
override this.GenerateTextArea : Microsoft.AspNetCore.Mvc.Rendering.ViewContext * Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer * string * int * int * obj -> Microsoft.AspNetCore.Mvc.Rendering.TagBuilder
Public Overridable Function GenerateTextArea (viewContext As ViewContext, modelExplorer As ModelExplorer, expression As String, rows As Integer, columns As Integer, htmlAttributes As Object) As TagBuilder

Parameter

viewContext
ViewContext

Instans ViewContext untuk cakupan saat ini.

modelExplorer
ModelExplorer

ModelExplorer untuk expression.

expression
String

Nama ekspresi, relatif terhadap model saat ini.

rows
Int32
columns
Int32
htmlAttributes
Object

Yang Object berisi parameter untuk rute. Parameter diambil melalui refleksi dengan memeriksa properti .Object Ini Object biasanya dibuat menggunakan Object sintaks penginisialisasi. Atau, instans yang IDictionary<TKey,TValue> berisi parameter rute.

Mengembalikan

Penerapan

Berlaku untuk