VectorConverter.CanConvertFrom(ITypeDescriptorContext, Type) Méthode

Définition

Indique si un objet peut être converti à partir d'un type spécifique en une instance de Vector.

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 source interrogé pour la prise en charge de la conversion.

Retours

Boolean

true si les objets du type spécifié peuvent être convertis en un Vector ; sinon, false.

S’applique à