VectorCollectionConverter.CanConvertFrom(ITypeDescriptorContext, Type) Méthode

Définition

Détermine si un objet peut être converti à partir d'un type spécifié en une instance de VectorCollection.

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

Informations de contexte d'un type.

sourceType
Type

Type de la source à évaluer pour la conversion.

Retours

true si vous pouvez convertir le type en VectorCollection ;sinon, false.

S’applique à