Поделиться через


HtmlHelper.GenerateEditor(ModelExplorer, String, String, Object) Метод

Определение

Создание редактора.

protected:
 virtual Microsoft::AspNetCore::Html::IHtmlContent ^ GenerateEditor(Microsoft::AspNetCore::Mvc::ViewFeatures::ModelExplorer ^ modelExplorer, System::String ^ htmlFieldName, System::String ^ templateName, System::Object ^ additionalViewData);
protected virtual Microsoft.AspNetCore.Html.IHtmlContent GenerateEditor (Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer modelExplorer, string htmlFieldName, string templateName, object additionalViewData);
abstract member GenerateEditor : Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer * string * string * obj -> Microsoft.AspNetCore.Html.IHtmlContent
override this.GenerateEditor : Microsoft.AspNetCore.Mvc.ViewFeatures.ModelExplorer * string * string * obj -> Microsoft.AspNetCore.Html.IHtmlContent
Protected Overridable Function GenerateEditor (modelExplorer As ModelExplorer, htmlFieldName As String, templateName As String, additionalViewData As Object) As IHtmlContent

Параметры

modelExplorer
ModelExplorer

ModelExplorer.

htmlFieldName
String

Имя поля HTML.

templateName
String

Имя шаблона

additionalViewData
Object

Дополнительные данные представления.

Возвращаемое значение

IHtmlContent.

Применяется к