C#
Parameters
- context
- Instance of the class that implements the System.ComponentModel.ITypeDescriptorContext interface that provides the format context.
- sourceType
- The System.Type instance that provides the type from which the conversion must be made.
Return Value
true, if the conversion is possible; otherwise false.Overriding base method. System.ComponentModel.TypeConverter.CanConvertFrom(System.ComponentModel.ITypeDescriptorContext,System.Type)
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2