PageApplicationModel.DeclaredModelType Property

Definition

Gets the declared model TypeInfo of the model for the page. Typically this TypeInfo will be the type specified by the @model directive in the razor page.

public:
 property System::Reflection::TypeInfo ^ DeclaredModelType { System::Reflection::TypeInfo ^ get(); };
public System.Reflection.TypeInfo DeclaredModelType { get; }
public System.Reflection.TypeInfo? DeclaredModelType { get; }
member this.DeclaredModelType : System.Reflection.TypeInfo
Public ReadOnly Property DeclaredModelType As TypeInfo

Property Value

Applies to