TypeConverter.CanConvertFrom(Type) TypeConverter.CanConvertFrom(Type) Method

Definition

When implemented in a derived class, returns a Boolean value that indicates whether or not the derived type converter can convert sourceType to its target type.

public virtual bool CanConvertFrom (Type sourceType);
abstract member CanConvertFrom : Type -> bool
override this.CanConvertFrom : Type -> bool
Parameters
sourceType
Type Type

The type to check.

Returns

Applies to