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

変換の出力の目的の型。

返品

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

適用対象