Determines whether this instance can convert the specified object type.

Namespace: Newtonsoft.Json
Assembly: Newtonsoft.Json (in Newtonsoft.Json.dll) Version: 4.5.0.0 (4.5.11.15729)

Syntax

C#
public abstract bool CanConvert(
	Type objectType
)
Visual Basic
Public MustOverride Function CanConvert ( _
	objectType As Type _
) As Boolean
Visual C++
public:
virtual bool CanConvert(
	Type^ objectType
) abstract

Parameters

objectType
Type: System..::..Type
Type of the object.

Return Value

true if this instance can convert the specified object type; otherwise, false.

See Also