Whether the converter can convert to targetType.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public override bool CanConvertTo( ITypeDescriptorContext context, Type targetType )
Public Overrides Function CanConvertTo ( _ context As ITypeDescriptorContext, _ targetType As Type _ ) As Boolean
public: virtual bool CanConvertTo( ITypeDescriptorContext^ context, Type^ targetType ) override
Parameters
- context (ITypeDescriptorContext)
- targetType (Type)