Export (0) Print
Expand All

IModelBinder.BindModel Method

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

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

bool BindModel(
	HttpActionContext actionContext,
	ModelBindingContext bindingContext
)

Parameters

actionContext
Type: System.Web.Http.Controllers.HttpActionContext
The action context.
bindingContext
Type: System.Web.Http.ModelBinding.ModelBindingContext
The binding context.

Return Value

Type: System.Boolean
true if model binding is successful; otherwise, false.
Show:
© 2014 Microsoft