PaddingConverter.CanConvertTo(ITypeDescriptorContext, Type) メソッド
定義
このコンバーターが指定のコンテキストを使用して、オブジェクトを指定の型に変換できるかどうかを返します。Returns whether this converter can convert the object to the specified type, using the specified context.
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
形式コンテキスト。The format context.
- destinationType
- Type
変換後の型。The type you want to convert to.
戻り値
コンバーターが変換を実行できる場合は true
。それ以外の場合は false
。true
if this converter can perform the conversion; otherwise, false
.