Int32CollectionConverter.CanConvertFrom(ITypeDescriptorContext, Type) Méthode

Définition

Détermine si le convertisseur peut convertir un objet du type donné en instance de Int32Collection.

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

Décrit les informations de contexte d’un type.

sourceType
Type

Type de la source évaluée pour la conversion.

Retours

true si le convertisseur peut convertir le type fourni en instance de Int32Collection; sinon, false.

S’applique à