PropertyPathConverter.CanConvertTo(ITypeDescriptorContext, Type) Méthode

Définition

Indique si ce convertisseur peut convertir l'objet en objet du 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

Paramètres

typeDescriptorContext
ITypeDescriptorContext

ITypeDescriptorContext qui fournit un contexte de format.

destinationType
Type

Type qui représente le type vers lequel vous souhaitez convertir.

Retours

Boolean

true si destinationType est de type String ; sinon, false.

S’applique à