PageApplicationModel.ModelType Property

Definition

Gets or sets the runtime model TypeInfo of the model for the razor page. This is the TypeInfo that will be used at runtime to instantiate and populate the model property of the page.

public:
 property System::Reflection::TypeInfo ^ ModelType { System::Reflection::TypeInfo ^ get(); void set(System::Reflection::TypeInfo ^ value); };
public System.Reflection.TypeInfo ModelType { get; set; }
public System.Reflection.TypeInfo? ModelType { get; set; }
member this.ModelType : System.Reflection.TypeInfo with get, set
Public Property ModelType As TypeInfo

Property Value

Applies to