CanConvertFrom Method (context, sourceType)
NamespacesICSharpCode.AvalonEdit.HighlightingHighlightingDefinitionTypeConverterCanConvertFrom(ITypeDescriptorContext, Type)
Returns whether this converter can convert an object of the given type to the type of this converter, using the specified context.
Declaration Syntax
C#Visual BasicVisual C++
public override bool CanConvertFrom(
	ITypeDescriptorContext context,
	Type sourceType
Public Overrides Function CanConvertFrom ( _
	context As ITypeDescriptorContext, _
	sourceType As Type _
) As Boolean
virtual bool CanConvertFrom(
	ITypeDescriptorContext^ context, 
	Type^ sourceType
) override
context (ITypeDescriptorContext)
An ITypeDescriptorContext that provides a format context.
sourceType (Type)
A Type that represents the type you want to convert from.
Return Value
true if this converter can perform the conversion; otherwise, false.

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