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