Click or drag to resize

KeyValuePairConverterTKey, TValueCanConvertTo Method (ITypeDescriptorContext, Type)

Returns whether this converter can convert the object to the specified type, using the specified context.

Namespace:  Ookii.CommandLine
Assembly:  Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 2.3.0
Syntax
public override bool CanConvertTo(
	ITypeDescriptorContext context,
	Type destinationType
)

Parameters

context
Type: System.ComponentModelITypeDescriptorContext
An ITypeDescriptorContext that provides a format context.
destinationType
Type: SystemType
A Type that represents the type you want to convert to.

Return Value

Type: Boolean
if this converter can perform the conversion; otherwise, .
See Also