ViewDataDictionary<TModel>.Model Property

Definition

Gets or sets the model.

C#
public TModel Model { get; set; }

Property Value

TModel

A reference to the data model.

Applies to

Product Versions
ASP.NET MVC 5.2