Udostępnij za pośrednictwem


HtmlHelper.GenerateDisplay(ModelExplorer, String, String, Object) Metoda

Definicja

Wygeneruj ekran.

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

Parametry

modelExplorer
ModelExplorer

Element ModelExplorer.

htmlFieldName
String

Nazwa pola HTML.

templateName
String

Nazwa szablonu.

additionalViewData
Object

Dodatkowe dane widoku — IDictionary<TKey,TValue> obiekt lub inny obiekt, którego właściwości publiczne zostaną scalone z obiektem ViewDataDictionary.

Zwraca

IHtmlContent.

Dotyczy