ControllerBase.ViewBag Property

Definition

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