Aracılığıyla paylaş


DefaultHtmlGenerator.GenerateInput Yöntem

Tanım

Giriş etiketi oluşturun.

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

Parametreler

viewContext
ViewContext

ViewContext.

inputType
InputType

InputType.

modelExplorer
ModelExplorer

ModelExplorer.

expression
String

İfade.

value
Object

Değer.

useViewData
Boolean

Görüntüleme verilerinin kullanılıp kullanılmaymayacağı.

isChecked
Boolean

Giriş işaretliyse.

setId
Boolean

Bunun kimlik ayarlanıp ayarlanmayacağı.

isExplicitValue
Boolean

Bunun açık bir değer olup olmadığı.

format
String

Biçimi.

htmlAttributes
IDictionary<String,Object>

Html öznitelikleri.

Döndürülenler

Şunlara uygulanır