| BinarySizeConverterCanConvertTo Method (ITypeDescriptorContext, Type) |
Gets a value indicating whether this converter can convert an object to the given destination type using the context.
Namespace:
Ookii.Jumbo
Assembly:
Ookii.Jumbo (in Ookii.Jumbo.dll) Version: 2.0.0
Syntax public override bool CanConvertTo(
ITypeDescriptorContext context,
Type destinationType
)
Public Overrides Function CanConvertTo (
context As ITypeDescriptorContext,
destinationType As Type
) As Boolean
public:
virtual bool CanConvertTo(
ITypeDescriptorContext^ context,
Type^ destinationType
) override
abstract CanConvertTo :
context : ITypeDescriptorContext *
destinationType : Type -> bool
override CanConvertTo :
context : ITypeDescriptorContext *
destinationType : Type -> bool
Parameters
- context
- Type: System.ComponentModelITypeDescriptorContext
An ITypeDescriptorContext object that provides a format context. - destinationType
- Type: SystemType
A Type object that represents the type you want to convert to.
Return Value
Type:
Boolean if this object can perform the conversion; otherwise,
.
See Also