Langue

SkinIDTypeConverter.CanConvertFrom(ITypeDescriptorContext, Type) Méthode

Définition

Retourne une valeur indiquant si ce convertisseur peut convertir un SkinID objet en chaîne à l’aide du contexte et du type de format fournis.

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 pour le contrôle en cours de conception.

sourceType
Type

Un Type.

Retours

true, si la conversion peut être effectuée ; sinon, false.

S’applique à

Voir aussi