Langue

StrokeCollectionConverter.CanConvertFrom(ITypeDescriptorContext, Type) Méthode

Définition

Retourne une valeur qui indique si l’objet StrokeCollectionConverter peut convertir un objet d’un type spécifié en un 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

Qui ITypeDescriptorContext fournit le contexte de format.

sourceType
Type

À partir duquel effectuer la Type conversion.

Retours

truesi l’objet de type StrokeCollectionConverter peut être converti en un sourceType; sinon, StrokeCollection.false

S’applique à