ModelBindingContext.ModelType Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the type of the model.
C#
public Type ModelType { get; set; }
member this.ModelType : Type with get, set
Public Property ModelType As Type
The type of the model.
Product | Versions |
---|---|
ASP.NET MVC | 5.2 |