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

要使用的上下文。

实现

适用于