共用方式為


MutableObjectModelBinder.CreateModel 方法

定義

建立模型的執行個體。

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

參數

modelBindingExecutionContext
ModelBindingExecutionContext

執行內容。

bindingContext
ModelBindingContext

繫結內容。

傳回

Object

模型物件。

適用於