Returns whether this converter can convert the object to the specified type, using the specified context.
Declaration Syntax
C# | Visual Basic | Visual C++ |
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
Parameters
- context (ITypeDescriptorContext)
- An ITypeDescriptorContext that provides a format context.
Return Value
true if this converter can perform the conversion; otherwise, false.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)