CanConvert Method (valueType)

Json.NET

Json.NET - Quick Starts & API Documentation CanConvert Method (valueType)
NamespacesNewtonsoft.Json.ConvertersXmlNodeConverterCanConvert(Type)
Determines whether this instance can convert the specified value type.
Declaration Syntax
C# Visual Basic Visual C++
public override bool CanConvert(
	Type valueType
)
Public Overrides Function CanConvert ( _
	valueType As Type _
) As Boolean
public:
virtual bool CanConvert(
	Type^ valueType
) override
Parameters
valueType (Type)
Type of the value.
Return Value
true if this instance can convert the specified value type; otherwise, false.

Assembly: Newtonsoft.Json (Module: Newtonsoft.Json) Version: 4.5.0.0 (4.5.6.14930)