System.Windows.Forms.ColumnHeaderConverter.CanConvertTo Method

Returns a value indicating whether the System.Windows.Forms.ColumnHeaderConverter can convert a System.Windows.Forms.ColumnHeader to the specified type, using the specified context.

Syntax

public override bool CanConvertTo (System.ComponentModel.ITypeDescriptorContext context, Type destinationType)

Parameters

context
A System.ComponentModel.ITypeDescriptorContext that provides a format context.
destinationType
A type representing the type to convert to.

Returns

true if this converter can perform the conversion; otherwise, false.

Remarks

Use the context parameter to extract additional information about the environment from which this converter is invoked. This parameter can be null, so always check it. Also, properties on the context object can return null.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0