Share via


HtmlHelper<TModel>.Contextualize(ViewContext) Method

Definition

Sets the 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)

Parameters

viewContext
ViewContext

The context to use.

Applies to