バージョン 24.2 (最新)

CanConvertTo(ITypeDescriptorContext,Type) メソッド

コンバーターが、指定されたコンテキストを使用して、オブジェクトを指定されたタイプに変換可能かどうかを判別します。
シンタックス
public override System.bool CanConvertTo( 
   System.ComponentModel.ITypeDescriptorContext context,
   System.Type destinationType
)

パラメータ

context
書式コンテキストを提供する System.ComponentModel.ITypeDescriptorContext
destinationType
変換先の型を表す System.Type

戻り値の型

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

オンラインで表示: GitHub