Partage via


StrokeCollectionConverter.CanConvertFrom(ITypeDescriptorContext, Type) Méthode

Définition

Retourne une valeur qui indique si StrokeCollectionConverter peut convertir un objet d'un type spécifié en StrokeCollection.

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

ITypeDescriptorContext qui fournit le contexte de format.

sourceType
Type

Type à partir duquel effectuer la conversion.

Retours

Boolean

true si StrokeCollectionConverter peut convertir un objet de type sourceType en StrokeCollection ; sinon, false.

S’applique à