Partage via


RepeatBehaviorConverter.CanConvertFrom(ITypeDescriptorContext, Type) Méthode

Définition

Détermine si la conversion à partir du type de données spécifié est possible.

public:
 override bool CanConvertFrom(System::ComponentModel::ITypeDescriptorContext ^ td, Type ^ t);
public override bool CanConvertFrom (System.ComponentModel.ITypeDescriptorContext td, Type t);
override this.CanConvertFrom : System.ComponentModel.ITypeDescriptorContext * Type -> bool
Public Overrides Function CanConvertFrom (td As ITypeDescriptorContext, t As Type) As Boolean

Paramètres

td
ITypeDescriptorContext

Informations contextuelles requises pour la conversion.

t
Type

Type à évaluer pour la conversion.

Retours

true si la conversion est prise en charge ; sinon, false.

Remarques

String est le seul type pris en charge pour la conversion.

S’applique à