Dela via


HtmlHelper.Contextualize(ViewContext) Method

Definition

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

Parameters

viewContext
ViewContext

The context to use.

Implements

Applies to