HtmlHelper.RenderPartialCoreAsync 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
轉譯部分檢視。
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
檢視資料。
- writer
- TextWriter
傳回
Task。