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

要使用的上下文。

适用于