Delen via


IRazorPage.ViewContext Property

Definition

Gets or sets the view context of the rendering view.

public:
 property Microsoft::AspNetCore::Mvc::Rendering::ViewContext ^ ViewContext { Microsoft::AspNetCore::Mvc::Rendering::ViewContext ^ get(); void set(Microsoft::AspNetCore::Mvc::Rendering::ViewContext ^ value); };
public Microsoft.AspNetCore.Mvc.Rendering.ViewContext ViewContext { get; set; }
member this.ViewContext : Microsoft.AspNetCore.Mvc.Rendering.ViewContext with get, set
Public Property ViewContext As ViewContext

Property Value

Applies to