Partager via


MutableObjectModelBinder.CreateModel Méthode

Définition

Crée une instance du modèle.

protected:
 virtual System::Object ^ CreateModel(System::Web::ModelBinding::ModelBindingExecutionContext ^ modelBindingExecutionContext, System::Web::ModelBinding::ModelBindingContext ^ bindingContext);
protected virtual object CreateModel (System.Web.ModelBinding.ModelBindingExecutionContext modelBindingExecutionContext, System.Web.ModelBinding.ModelBindingContext bindingContext);
abstract member CreateModel : System.Web.ModelBinding.ModelBindingExecutionContext * System.Web.ModelBinding.ModelBindingContext -> obj
override this.CreateModel : System.Web.ModelBinding.ModelBindingExecutionContext * System.Web.ModelBinding.ModelBindingContext -> obj
Protected Overridable Function CreateModel (modelBindingExecutionContext As ModelBindingExecutionContext, bindingContext As ModelBindingContext) As Object

Paramètres

modelBindingExecutionContext
ModelBindingExecutionContext

Contexte d'exécution.

bindingContext
ModelBindingContext

Le contexte de liaison.

Retours

Object

Objet du modèle.

S’applique à