ColorConverter.CanConvertTo(ITypeDescriptorContext, Type) メソッド

定義

このコンバーターがコンテキストを使用してオブジェクトを特定の変換先の型に変換できるかどうかを示す値を返します。

public:
 override bool CanConvertTo(System::ComponentModel::ITypeDescriptorContext ^ context, Type ^ destinationType);
public override bool CanConvertTo(System.ComponentModel.ITypeDescriptorContext context, Type destinationType);
override this.CanConvertTo : System.ComponentModel.ITypeDescriptorContext * Type -> bool
Public Overrides Function CanConvertTo (context As ITypeDescriptorContext, destinationType As Type) As Boolean

パラメーター

context
ITypeDescriptorContext

形式コンテキスト。

destinationType
Type

変換先の型。

返品

true このコンバーターが操作を実行できる場合。それ以外の場合は false

適用対象