Share via


StrokeCollectionConverter.CanConvertFrom(ITypeDescriptorContext, Type) Método

Definición

Devuelve un valor que indica si StrokeCollectionConverter puede convertir un objeto de un tipo especificado 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

Parámetros

context
ITypeDescriptorContext

ITypeDescriptorContext que proporciona el contexto de formato.

sourceType
Type

Type desde el que se va a convertir.

Devoluciones

Boolean

true si StrokeCollectionConverter puede convertir un objeto de tipo sourceType en StrokeCollection; de lo contrario, false.

Se aplica a