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


HtmlHelper.RenderPartialCoreAsync Метод

Определение

Отрисовка частичного представления.

protected:
 virtual System::Threading::Tasks::Task ^ RenderPartialCoreAsync(System::String ^ partialViewName, System::Object ^ model, Microsoft::AspNetCore::Mvc::ViewFeatures::ViewDataDictionary ^ viewData, System::IO::TextWriter ^ writer);
protected virtual System.Threading.Tasks.Task RenderPartialCoreAsync (string partialViewName, object model, Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary viewData, System.IO.TextWriter writer);
abstract member RenderPartialCoreAsync : string * obj * Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary * System.IO.TextWriter -> System.Threading.Tasks.Task
override this.RenderPartialCoreAsync : string * obj * Microsoft.AspNetCore.Mvc.ViewFeatures.ViewDataDictionary * System.IO.TextWriter -> System.Threading.Tasks.Task
Protected Overridable Function RenderPartialCoreAsync (partialViewName As String, model As Object, viewData As ViewDataDictionary, writer As TextWriter) As Task

Параметры

partialViewName
String

Имя частичного представления.

model
Object

Модель.

viewData
ViewDataDictionary

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

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

Task.

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