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

适用于