DefaultHtmlGenerator.GenerateInput Metoda

Definicja

Generowanie tagu wejściowego.

protected:
 virtual Microsoft::AspNetCore::Mvc::Rendering::TagBuilder ^ GenerateInput(Microsoft::AspNetCore::Mvc::Rendering::ViewContext ^ viewContext, Microsoft::AspNetCore::Mvc::ViewFeatures::InputType inputType, Microsoft::AspNetCore::Mvc::ViewFeatures::ModelExplorer ^ modelExplorer, System::String ^ expression, System::Object ^ value, bool useViewData, bool isChecked, bool setId, bool isExplicitValue, System::String ^ format, System::Collections::Generic::IDictionary<System::String ^, System::Object ^> ^ htmlAttributes);
protected virtual Microsoft.AspNetCore.Mvc.Rendering.TagBuilder GenerateInput (Microsoft.AspNetCore.Mvc.Rendering.ViewContext viewContext, Microsoft.AspNetCore.Mvc.ViewFeatures.InputType inputType, Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer modelExplorer, string expression, object value, bool useViewData, bool isChecked, bool setId, bool isExplicitValue, string format, System.Collections.Generic.IDictionary<string,object> htmlAttributes);
abstract member GenerateInput : Microsoft.AspNetCore.Mvc.Rendering.ViewContext * Microsoft.AspNetCore.Mvc.ViewFeatures.InputType * Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer * string * obj * bool * bool * bool * bool * string * System.Collections.Generic.IDictionary<string, obj> -> Microsoft.AspNetCore.Mvc.Rendering.TagBuilder
override this.GenerateInput : Microsoft.AspNetCore.Mvc.Rendering.ViewContext * Microsoft.AspNetCore.Mvc.ViewFeatures.InputType * Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer * string * obj * bool * bool * bool * bool * string * System.Collections.Generic.IDictionary<string, obj> -> Microsoft.AspNetCore.Mvc.Rendering.TagBuilder
Protected Overridable Function GenerateInput (viewContext As ViewContext, inputType As InputType, modelExplorer As ModelExplorer, expression As String, value As Object, useViewData As Boolean, isChecked As Boolean, setId As Boolean, isExplicitValue As Boolean, format As String, htmlAttributes As IDictionary(Of String, Object)) As TagBuilder

Parametry

viewContext
ViewContext

Element ViewContext.

inputType
InputType

Element InputType.

modelExplorer
ModelExplorer

Element ModelExplorer.

expression
String

Wyrażenie.

value
Object

Wartość.

useViewData
Boolean

Czy używać danych widoku.

isChecked
Boolean

Jeśli dane wejściowe są zaznaczone.

setId
Boolean

Czy należy ustawić identyfikator.

isExplicitValue
Boolean

Określa, czy jest to jawna wartość.

format
String

Format.

htmlAttributes
IDictionary<String,Object>

Atrybuty HTML.

Zwraca

Dotyczy