言語

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

定義

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

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

パラメーター

typeDescriptorContext
ITypeDescriptorContext

形式コンテキスト。

destinationType
Type

サポート対象のクエリを実行する型。

返品

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

注釈

CanConvertTo は、.NET Framework バージョン 3.5 で導入されています。 詳細については、「 バージョンと依存関係」を参照してください。

適用対象