Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetBinder Method
Collapse the table of content
Expand the table of content

ModelBinderProvider.GetBinder Method

.NET Framework 4.6 and 4.5

When overridden in a derived class, gets a model binder.

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

public abstract IModelBinder GetBinder(
	ModelBindingExecutionContext modelBindingExecutionContext,
	ModelBindingContext bindingContext


Type: System.Web.ModelBinding.ModelBindingExecutionContext

The execution context.

Type: System.Web.ModelBinding.ModelBindingContext

The binding context.

Return Value

Type: System.Web.ModelBinding.IModelBinder
A model binder.

.NET Framework

Supported in: 4.6, 4.5
© 2015 Microsoft