Uređivanje

Dijeli putem


ModelBindingContext.ModelType Property

Definition

Gets the type of the model.

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

Property Value

The type of the model.

Exceptions

Model metadata must be set before accessing this property.

Applies to