RazorPage<TModel>.Model Property

Definition

Gets the Model property of the ViewData property.

public:
 property TModel Model { TModel get(); };
public TModel Model { get; }
member this.Model : 'Model
Public ReadOnly Property Model As TModel

Property Value

TModel

Applies to