共用方式為


HtmlHelper.Contextualize(ViewContext) 方法

定義

設定 ViewContext

public:
 virtual void Contextualize(Microsoft::AspNetCore::Mvc::Rendering::ViewContext ^ viewContext);
public virtual 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 Overridable Sub Contextualize (viewContext As ViewContext)

參數

viewContext
ViewContext

要使用的內容。

實作

適用於