Delen via


HtmlHelper.RenderPartialCoreAsync Method

Definition

Render a partial view.

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

Parameters

partialViewName
String

The name of the partial view.

model
Object

The model.

viewData
ViewDataDictionary

The view data.

writer
TextWriter

The TextWriter.

Returns

The Task.

Applies to