ASP.NET Core MVC Controls | ComponentOne
C1.AspNetCore.Mvc Assembly / C1.JsonNet Namespace / JsonResolver Class / CanResolve Method / CanResolve(String,Object,Type) Method
The property name.
The value of the object.
The type of the object.

In This Topic
    CanResolve(String,Object,Type) Method
    In This Topic
    Gets whether the specified object can be serialized or deserialized.
    Syntax
    'Declaration
     
    Public Overloads Overridable Function CanResolve( _
       ByVal name As String, _
       ByVal value As Object, _
       ByVal type As Type _
    ) As Boolean
    public virtual bool CanResolve( 
       string name,
       object value,
       Type type
    )

    Parameters

    name
    The property name.
    value
    The value of the object.
    type
    The type of the object.

    Return Value

    A System.Boolean value indicates whether to be resovled. If true, it means the object can be serialized or deserialized. The object doesn't support serialization or deserialization.
    See Also