BinaryDataModelBinderProvider.GetBinder Method

Definition

Returns a model binder for binary data.

C#
public override System.Web.ModelBinding.IModelBinder GetBinder (System.Web.ModelBinding.ModelBindingExecutionContext modelBindingExecutionContext, System.Web.ModelBinding.ModelBindingContext bindingContext);

Parameters

modelBindingExecutionContext
ModelBindingExecutionContext

The execution context.

bindingContext
ModelBindingContext

The binding context.

Returns

The model binder, or null if the attempt to get a model binder is unsuccessful.

Applies to

Product Versions
.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