Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SimpleModelBinderProvider.GetBinder Method

Returns a model binder by using the specified execution context and binding context.

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

public override IModelBinder GetBinder(
	HttpConfiguration configuration,
	Type modelType


Type: System.Web.Http.HttpConfiguration

The configuration.

Type: System.Type

The model type.

Return Value

Type: System.Web.Http.ModelBinding.IModelBinder
The model binder, or null if the attempt to get a model binder is unsuccessful.
© 2015 Microsoft