Binds the model by using the specified controller context and binding context.
Syntax
Parameters
- controllerContext
- The context within which the controller operates. The context information includes the controller, HTTP content, request context, and route data.
- bindingContext
- The context within which the model is bound. The context includes information such as the model object, model name, model type, property filter, and value provider.
Return Value
The bound object.
Exceptions
Requirements
Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6
See Also