TypeConverterCanConvertTo Method (ITypeDescriptorContext, Type) |
Determines whether this instance can convert to the specified context destinationType.
Namespace:
Eto
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public virtual bool CanConvertTo(
ITypeDescriptorContext context,
Type destinationType
)
Public Overridable Function CanConvertTo (
context As ITypeDescriptorContext,
destinationType As Type
) As Boolean
abstract CanConvertTo :
context : ITypeDescriptorContext *
destinationType : Type -> bool
override CanConvertTo :
context : ITypeDescriptorContext *
destinationType : Type -> bool
Parameters
- context
- Type: EtoITypeDescriptorContext
Context. - destinationType
- Type: SystemType
Destination type.
Return Value
Type:
Booleantrue if this instance can convert to the specified context destinationType; otherwise,
false.
See Also