'Declaration Public Overloads Overrides Function CanConvertFrom( _
ByVal contextAn System.ComponentModel.ITypeDescriptorContext that provides a format context.As System.ComponentModel.ITypeDescriptorContext, _
ByVal sourceTypeA System.Type that represents the type you want to convert from.As System.Type _
) As Boolean
public override bool CanConvertFrom(
System.ComponentModel.ITypeDescriptorContext context,
System.Type sourceType
)
public: bool CanConvertFrom(
System.ComponentModel.ITypeDescriptorContext* context,
System.Type* sourceType
); override
public:
bool CanConvertFrom(
System.ComponentModel.ITypeDescriptorContext^ context,
System.Type^ sourceType
); override
Parameters
- context
- An System.ComponentModel.ITypeDescriptorContext that provides a format context.
- sourceType
- A System.Type that represents the type you want to convert from.
Return Value
True if this converter can perform the conversion; otherwise, false.