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

定義

指定した型を String に変換できるかどうかを判断します。

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

変換に必要なコンテキスト情報を提供します。

destinationType
Type

変換の評価対象である型。

戻り値

Boolean

この型を変換できる場合は true。それ以外の場合は false

注釈

String は、変換でサポートされている唯一の型です。

適用対象