XmlFormatHandler.Deserialize Method (ControllerContext, ModelBindingContext, ContentType)
Deserialize the object model into the response body in the specified request format.
Namespace: Microsoft.Web.Mvc.Resources
Assembly: Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)
Syntax
public object Deserialize(
ControllerContext controllerContext,
ModelBindingContext bindingContext,
ContentType requestFormat
)
public:
virtual Object^ Deserialize(
ControllerContext^ controllerContext,
ModelBindingContext^ bindingContext,
ContentType^ requestFormat
) sealed
abstract Deserialize :
controllerContext:ControllerContext *
bindingContext:ModelBindingContext *
requestFormat:ContentType -> Object
override Deserialize :
controllerContext:ControllerContext *
bindingContext:ModelBindingContext *
requestFormat:ContentType -> Object
Public Function Deserialize (
controllerContext As ControllerContext,
bindingContext As ModelBindingContext,
requestFormat As ContentType
) As Object
Parameters
controllerContext
Type: System.Web.Mvc.ControllerContextThe controller context.
bindingContext
Type: System.Web.Mvc.ModelBindingContextThe binding context.
requestFormat
Type: System.Net.Mime.ContentTypeThe request format.
Return Value
Type: System.Object
The object deserializes.
Implements
IRequestFormatHandler.Deserialize(ControllerContext, ModelBindingContext, ContentType)
See Also
XmlFormatHandler Class
Microsoft.Web.Mvc.Resources Namespace
Return to top