AvalonEdit
CanConvertTo Method (context, destinationType)
NamespacesICSharpCode.AvalonEdit.HighlightingHighlightingDefinitionTypeConverterCanConvertTo(ITypeDescriptorContext, Type)
Returns whether this converter can convert the object to the specified type, using the specified context.
Declaration Syntax
C#Visual BasicVisual 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.
destinationType (Type)
A Type that represents the type you want to convert to.
Return Value
true if this converter can perform the conversion; otherwise, false.

Assembly: ICSharpCode.AvalonEdit (Module: ICSharpCode.AvalonEdit.dll) Version: 5.0.0.4238