DynamicResourceExtensionConverter.CanConvertTo メソッド

定義

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

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

destinationTypeInstanceDescriptor の型である場合は true。それ以外の場合は false

適用対象