Share via


FormatManager.CanDeserialize Method (ContentType)

 

Returns true if the specified content type can be deserialized.

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

Syntax

public bool CanDeserialize(
    ContentType contentType
)
public:
bool CanDeserialize(
    ContentType^ contentType
)
member CanDeserialize : 
        contentType:ContentType -> bool
Public Function CanDeserialize (
    contentType As ContentType
) As Boolean

Parameters

Return Value

Type: System.Boolean

true if the specified content type can be deserialized; otherwise, false.

See Also

FormatManager Class
Microsoft.Web.Mvc.Resources Namespace

Return to top