System.Windows.Forms.ImageKeyConverter.CanConvertFrom Method

Returns whether this converter can convert an object of the given type to a string using the specified context.

Syntax

public override bool CanConvertFrom (System.ComponentModel.ITypeDescriptorContext context, Type sourceType)

Parameters

context
An System.ComponentModel.ITypeDescriptorContext that provides a format context.
sourceType
A Type that specifies the type you want to convert from.

Returns

true to indicate the specified conversion can be performed; otherwise, false.

Remarks

Documentation for this section has not yet been entered.

Requirements

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