KeyValuePairModelBinder<TKey, TValue>.BindModel Method (ModelBindingExecutionContext, ModelBindingContext)

.NET Framework (current version)
 

Binds the model by using the specified execution context and binding context.

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

public bool BindModel(
	ModelBindingExecutionContext modelBindingExecutionContext,
	ModelBindingContext bindingContext
)

Parameters

modelBindingExecutionContext
Type: System.Web.ModelBinding.ModelBindingExecutionContext

The execution context.

bindingContext
Type: System.Web.ModelBinding.ModelBindingContext

The binding context.

Return Value

Type: System.Boolean

true if model binding is successful; otherwise, false.

.NET Framework
Available since 4.5
Return to top
Show: