Controller.ViewBag Property

Definition

Gets the dynamic view bag.

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

Property Value

Object

Applies to