Langue

VectorCollectionConverter.CanConvertFrom(ITypeDescriptorContext, Type) Méthode

Définition

Détermine si un objet peut être converti d’un type spécifié en instance d’un VectorCollectionobjet .

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 un VectorCollection; sinon, false.

S’applique à