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

定義

この LinkConverter が、指定したコンテキストを持つオブジェクトを指定した型に変換できるかどうかを示す値を取得します。

public:
 override bool CanConvertTo(System::ComponentModel::ITypeDescriptorContext ^ context, Type ^ destinationType);
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

この LinkConverter が指定したオブジェクトを変換できる場合は true。それ以外の場合は false

適用対象

こちらもご覧ください