共用方式為


HtmlHelper<TModel>.Contextualize(ViewContext) 方法

定義

設定 ViewContext

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

參數

viewContext
ViewContext

要使用的內容。

適用於