Dela via


IViewContextAware.Contextualize(ViewContext) Method

Definition

Contextualizes the instance with the specified viewContext.

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

Parameters

viewContext
ViewContext

The ViewContext.

Applies to