HttpActionContextExtensions.Bind Method
Namespace: System.Web.Http.Controllers
Assembly: System.Web.Http (in System.Web.Http.dll)
Overload List
Name | Description | |
---|---|---|
Bind(HttpActionContext, ModelBindingContext) | ||
Bind(HttpActionContext, ModelBindingContext, IEnumerable<IModelBinder>) |
See Also
HttpActionContextExtensions Class
System.Web.Http.Controllers Namespace
Return to top
HttpActionContextExtensions.Bind Method (HttpActionContext, ModelBindingContext)
Syntax
public static bool Bind(
this HttpActionContext actionContext,
ModelBindingContext bindingContext
)
public:
[ExtensionAttribute]
static bool Bind(
HttpActionContext^ actionContext,
ModelBindingContext^ bindingContext
)
static member Bind :
actionContext:HttpActionContext *
bindingContext:ModelBindingContext -> bool
<ExtensionAttribute>
Public Shared Function Bind (
actionContext As HttpActionContext,
bindingContext As ModelBindingContext
) As Boolean
Parameters
- actionContext
Type: System.Web.Http.Controllers.HttpActionContext
- bindingContext
Type: System.Web.Http.ModelBinding.ModelBindingContext
Return Value
Type: System.Boolean
Return to top
HttpActionContextExtensions.Bind Method (HttpActionContext, ModelBindingContext, IEnumerable<IModelBinder>)
Syntax
public static bool Bind(
this HttpActionContext actionContext,
ModelBindingContext bindingContext,
IEnumerable<IModelBinder> binders
)
public:
[ExtensionAttribute]
static bool Bind(
HttpActionContext^ actionContext,
ModelBindingContext^ bindingContext,
IEnumerable<IModelBinder^>^ binders
)
static member Bind :
actionContext:HttpActionContext *
bindingContext:ModelBindingContext *
binders:IEnumerable<IModelBinder> -> bool
<ExtensionAttribute>
Public Shared Function Bind (
actionContext As HttpActionContext,
bindingContext As ModelBindingContext,
binders As IEnumerable(Of IModelBinder)
) As Boolean
Parameters
- actionContext
Type: System.Web.Http.Controllers.HttpActionContext
- bindingContext
Type: System.Web.Http.ModelBinding.ModelBindingContext
- binders
Type: System.Collections.Generic.IEnumerable<IModelBinder>
Return Value
Type: System.Boolean
Return to top