Share via


IRequestFormatHandler.CanDeserialize Method (ContentType)

 

Returns true if the handler can deserialize request's content type.

Namespace:   Microsoft.Web.Mvc.Resources
Assembly:  Microsoft.Web.Mvc (in Microsoft.Web.Mvc.dll)

Syntax

bool CanDeserialize(
    ContentType requestFormat
)
bool CanDeserialize(
    ContentType^ requestFormat
)
abstract CanDeserialize : 
        requestFormat:ContentType -> bool
Function CanDeserialize (
    requestFormat As ContentType
) As Boolean

Parameters

Return Value

Type: System.Boolean

true if the handler can deserialize request's content type; otherwise, false.

See Also

IRequestFormatHandler Interface
Microsoft.Web.Mvc.Resources Namespace

Return to top