共用方式為


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

適用於