Επεξεργασία

Κοινή χρήση μέσω


JsonStringEnumConverter.CanConvert(Type) Method

Definition

Determines whether the specified type can be converted to an enum.

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

Parameters

typeToConvert
Type

The type to be checked.

Returns

true if the type can be converted; otherwise, false.

Applies to