ModelBindingContext.ModelType Property

Definition

Gets the type of the model.

public:
 virtual property Type ^ ModelType { Type ^ get(); };
public virtual Type ModelType { get; }
member this.ModelType : Type
Public Overridable ReadOnly Property ModelType As Type

Property Value

Remarks

The ModelMetadata property must be set to access this property.

Applies to