Returns whether this converter can convert an object of the given type to
the type of this converter, using the specified context.
Namespace: MonoSoftware.CoreAssembly: MonoSoftware.Core (in MonoSoftware.Core.dll) Version: 1.0.40.669 (1.0.40.669)
Syntax
C# |
---|
public override bool CanConvertFrom(
ITypeDescriptorContext context,
Type sourceType
) |
Visual Basic |
---|
Public Overrides Function CanConvertFrom (
context As ITypeDescriptorContext,
sourceType As Type
) As Boolean |
Visual C++ |
---|
public:
virtual bool CanConvertFrom(
ITypeDescriptorContext^ context,
Type^ sourceType
) override |
F# |
---|
abstract CanConvertFrom :
context : ITypeDescriptorContext *
sourceType : Type -> bool
override CanConvertFrom :
context : ITypeDescriptorContext *
sourceType : Type -> bool |
Return Value
Type:
Booleantrue if this converter can perform the conversion; otherwise, false.
See Also