SetterTriggerConditionValueConverter.CanConvertFrom Méthode

Définition

Retourne une valeur qui indique si le convertisseur peut convertir d’un objet source en un effet secondaire produit Setterou TriggerCondition .

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

Paramètres

context
ITypeDescriptorContext

Qui ITypeDescriptorContext fournit un contexte de format.

sourceType
Type

Type à convertir.

Retours

true si le convertisseur peut effectuer la conversion ; sinon, false.

Remarques

Cette implémentation retourne true uniquement pour sourceType un tableau d’octets ou pour un tableau d’octets String .

S’applique à