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

定義

ImageSource のインスタンスを別の型に変換できるかどうかを判断します。

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

変換先として評価する目的の型。

戻り値

Boolean

コンバーターが ImageSource のこのインスタンスを変換できる場合は true。それ以外の場合は false

例外

context インスタンスは ImageSource ではありません。

適用対象