Freigeben über


ViewUserControl<TModel>.Model Property

Gets the model.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Syntax

'Declaration
Public ReadOnly Property Model As TModel
    Get
public TModel Model { get; }
public:
property TModel Model {
    TModel get ();
}

Property Value

Type: TModel
A reference to the data model.

See Also

Reference

ViewUserControl<TModel> Class

System.Web.Mvc Namespace