DefaultHtmlGenerator.GenerateInput Método

Definição

Gerar uma marca de entrada.

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

Parâmetros

viewContext
ViewContext

O ViewContext.

inputType
InputType

O InputType.

modelExplorer
ModelExplorer

O ModelExplorer.

expression
String

A expressão.

value
Object

O valor.

useViewData
Boolean

Se os dados de exibição devem ser usados.

isChecked
Boolean

Se a entrada estiver marcada.

setId
Boolean

Se isso deve definir a ID.

isExplicitValue
Boolean

Se esse é um valor explícito.

format
String

O formato.

htmlAttributes
IDictionary<String,Object>

Os atributos html.

Retornos

Aplica-se a