TemplateBindingExpressionConverter.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

書式指定コンテキストを提供する ITypeDescriptorContext 実装。

destinationType
Type

変換出力の目的の型。

戻り値

Boolean

コンバーターが要求された変換を実行できる場合は true。それ以外の場合は falseMarkupExtensiondestinationType だけが true を返します。

適用対象