FacebookRedirectContextModelBinder.BindModel Method

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

Namespace:  Microsoft.AspNet.Mvc.Facebook.ModelBinders
Assembly:  Microsoft.AspNet.Mvc.Facebook (in Microsoft.AspNet.Mvc.Facebook.dll)

Syntax

'Declaration
Public Overridable Function BindModel ( _
    controllerContext As ControllerContext, _
    bindingContext As ModelBindingContext _
) As Object
'Usage
Dim instance As FacebookRedirectContextModelBinder 
Dim controllerContext As ControllerContext 
Dim bindingContext As ModelBindingContext 
Dim returnValue As Object 

returnValue = instance.BindModel(controllerContext, _
    bindingContext)
public virtual Object BindModel(
    ControllerContext controllerContext,
    ModelBindingContext bindingContext
)
public:
virtual Object^ BindModel(
    ControllerContext^ controllerContext, 
    ModelBindingContext^ bindingContext
)
abstract BindModel : 
        controllerContext:ControllerContext * 
        bindingContext:ModelBindingContext -> Object  
override BindModel : 
        controllerContext:ControllerContext * 
        bindingContext:ModelBindingContext -> Object
public function BindModel(
    controllerContext : ControllerContext, 
    bindingContext : ModelBindingContext
) : Object

Parameters

Return Value

Type: System.Object
The bound value.

Implements

IModelBinder.BindModel(ControllerContext, ModelBindingContext)

See Also

Reference

FacebookRedirectContextModelBinder Class

Microsoft.AspNet.Mvc.Facebook.ModelBinders Namespace