ModelBindingContext.ModelType Property

Definition

Gets or sets the type of the model.

C#
public Type ModelType { get; set; }

Property Value

The type of the model.

Applies to

Product Versions
ASP.NET MVC 5.2