HtmlHelper.GenerateDisplay(ModelExplorer, String, String, Object) Método

Definição

Gere uma exibição.

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

Parâmetros

modelExplorer
ModelExplorer

O ModelExplorer.

htmlFieldName
String

O nome do campo html.

templateName
String

O nome do modelo.

additionalViewData
Object

Os dados de exibição adicionais, um IDictionary<TKey,TValue> ou algum outro objeto cujas propriedades públicas serão mescladas com o ViewDataDictionary.

Retornos

IHtmlContent.

Aplica-se a