RectangleConverter..::..CanConvertFrom Method
Returns whether this converter can convert an object of the given type to the type of this converter, using the specified context.
Namespace:
SquidAssembly: Squid.Core (in Squid.Core.dll)
Syntax
public bool CanConvertFrom( ITypeDescriptorContext context, Type sourceType )
Public Function CanConvertFrom ( _ context As ITypeDescriptorContext, _ sourceType As Type _ ) As Boolean
public: bool^ CanConvertFrom( ITypeDescriptorContext^ context, Type^ sourceType )
Parameters
- context
- Type: ITypeDescriptorContext
An ITypeDescriptorContext that provides a format context.
- sourceType
- Type: Type
A Type that represents the type you want to convert from.