Gets a value indicating whether this converter can convert an object to the specified destination type by using the specified context.
- context
- A System.ComponentModel.ITypeDescriptorContext that provides a format context.
- destinationType
- The destination Type to convert into.
true if this converter can perform the specified conversion; otherwise, false.
The SelectionRangeConverter.CanConvertTo(System.ComponentModel.ITypeDescriptorContext, Type) method returns true if the destinationType parameter is of type string or System.ComponentModel.Design.Serialization.InstanceDescriptor. Otherwise, it defers the call to the base implementation of this method, System.ComponentModel.TypeConverter.CanConvertTo(System.ComponentModel.ITypeDescriptorContext, Type).