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 で導入されています。 詳細については、「.NET Framework のバージョンおよび依存関係」を参照してください。

適用対象