Share via


RazorPage.ViewBag Property

Definition

Gets the dynamic view data dictionary.

public:
 property System::Object ^ ViewBag { System::Object ^ get(); };
public dynamic ViewBag { get; }
member this.ViewBag : obj
Public ReadOnly Property ViewBag As Object

Property Value

Applies to