共用方式為


IViewContextAware.Contextualize(ViewContext) 方法

定義

將實例與指定的 viewContext 內容相關。

public:
 void Contextualize(Microsoft::AspNetCore::Mvc::Rendering::ViewContext ^ viewContext);
public void Contextualize (Microsoft.AspNetCore.Mvc.Rendering.ViewContext viewContext);
abstract member Contextualize : Microsoft.AspNetCore.Mvc.Rendering.ViewContext -> unit
Public Sub Contextualize (viewContext As ViewContext)

參數

viewContext
ViewContext

ViewContext

適用於