IModelBinder.BindModel Method

Definition

Binds the model to a value by using the specified execution context and binding context.

C#
public bool BindModel (System.Web.ModelBinding.ModelBindingExecutionContext modelBindingExecutionContext, System.Web.ModelBinding.ModelBindingContext bindingContext);

Parameters

modelBindingExecutionContext
ModelBindingExecutionContext

The execution context.

bindingContext
ModelBindingContext

The binding context.

Returns

true if model binding is successful; otherwise, false.

Applies to

Producto Versiones
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1