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

定義

このコンバーターが、オブジェクトを PropertyPath 型に変換できるかどうかを示す値を返します。

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

書式指定コンテキストを提供する ITypeDescriptorContext

destinationType
Type

変換先の型を表す Type

戻り値

destinationType の型が String の場合は true。それ以外の場合は false

適用対象