MutableObjectModelBinder.CreateModel Method (ModelBindingExecutionContext, ModelBindingContext)

.NET Framework (current version)
 

Creates an instance of the model.

Namespace:   System.Web.ModelBinding
Assembly:  System.Web (in System.Web.dll)

Protected Overridable Function CreateModel (
	modelBindingExecutionContext As ModelBindingExecutionContext,
	bindingContext As ModelBindingContext
) As Object

Parameters

modelBindingExecutionContext
Type: System.Web.ModelBinding.ModelBindingExecutionContext

The execution context.

bindingContext
Type: System.Web.ModelBinding.ModelBindingContext

The binding context.

Return Value

Type: System.Object

The model object.

.NET Framework
Available since 4.5
Return to top
Show: