'Declaration Public Overloads Overrides Function CanConvertFrom( _
ByVal contextA formatter context. This object can be used to get additional information about the environment this converter is being called from. This may be null, so you should always check. Also, properties on the context object may also return null.As System.ComponentModel.ITypeDescriptorContext, _
ByVal sourceTypeThe 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
- A formatter context. This object can be used to get additional information about the environment this converter is being called from. This may be null, so you should always check. Also, properties on the context object may also return null.
- sourceType
- The type you want to convert from.
Return Value
True if this object can perform the conversion; otherwise, false.