Determines whether this converter can convert an object of the specified data type to an array of strings containing individual font names.
- context
- A System.ComponentModel.ITypeDescriptorContext object that provides information about the context of a type converter. You can optionally pass in null for this parameter.
- sourceType
- A Type that represents the data type to convert from.
true if the type can be converted; otherwise, false.
Use the FontNamesConverter.CanConvertFrom(System.ComponentModel.ITypeDescriptorContext, Type) method to determine whether the specified data type can be converted to an array of strings containing individual font names.
This converter can convert only from a string data type. The sourceType parameter must be of type string. Otherwise, this method returns false to indicate that the specified data type cannot be converted.
You can optionally pass in null for the context parameter.