Share via


HtmlHelper<TModel>.ViewBag Property

Definition

Gets the view bag.

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

Property Value

The view bag.

Applies to