JsonModelConverter.CanConvert(Type) Method

Definition

Determines whether the type can be converted.

public override bool CanConvert (Type typeToConvert);
override this.CanConvert : Type -> bool
Public Overrides Function CanConvert (typeToConvert As Type) As Boolean

Parameters

typeToConvert
Type

Returns

True if the type can be converted, False otherwise.

Remarks

The default implementation is to return True when typeToConvert equals typeof(T).

Applies to