Share via


ActionTypeConverter.CanConvertFrom(ITypeDescriptorContext, Type) Méthode

Définition

Spécifie si le convertisseur de type d'action peut effectuer la conversion à partir d'un objet source spécifié.

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

Contexte.

sourceType
Type

Type de source.

Retours

True si le convertisseur de type d’action peut convertir à partir d’un objet source spécifié ; sinon, false.

S’applique à