Share via


ControllerBase.ViewBag Property

Definition

Overloads

ViewBag

Gets the dynamic view data dictionary.

ViewBag

Gets the dynamic view data dictionary.

public dynamic ViewBag { get; }
member this.ViewBag : obj
Public ReadOnly Property ViewBag As Object

Property Value

The dynamic view data dictionary.

Applies to