共用方式為


DefaultViewComponentHelper.Contextualize(ViewContext) 方法

定義

將實例與指定的 viewContext 內容化。

public:
 virtual 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
override this.Contextualize : Microsoft.AspNetCore.Mvc.Rendering.ViewContext -> unit
Public Sub Contextualize (viewContext As ViewContext)

參數

viewContext
ViewContext

ViewContext

實作

適用於