StrokeCollectionConverter.CanConvertTo(ITypeDescriptorContext, Type) StrokeCollectionConverter.CanConvertTo(ITypeDescriptorContext, Type) StrokeCollectionConverter.CanConvertTo(ITypeDescriptorContext, Type) StrokeCollectionConverter.CanConvertTo(ITypeDescriptorContext, Type) Method

Definición

Obtiene un valor que indica si StrokeCollectionConverter puede convertir un objeto StrokeCollection en el tipo especificado.Returns a value that indicates whether the StrokeCollectionConverter can convert a StrokeCollection to the specified type.

public:
 override bool CanConvertTo(System::ComponentModel::ITypeDescriptorContext ^ context, Type ^ destinationType);
public override bool CanConvertTo (System.ComponentModel.ITypeDescriptorContext context, Type destinationType);
override this.CanConvertTo : System.ComponentModel.ITypeDescriptorContext * Type -> bool
Public Overrides Function CanConvertTo (context As ITypeDescriptorContext, destinationType As Type) As Boolean

Parámetros

context
ITypeDescriptorContext ITypeDescriptorContext ITypeDescriptorContext ITypeDescriptorContext

ITypeDescriptorContext que proporciona el contexto de formato.An ITypeDescriptorContext that provides the format context.

destinationType
Type Type Type Type

Type en el que se va a convertir.The Type to convert to.

Devoluciones

true si StrokeCollectionConverter puede convertir StrokeCollection en sourceType; de lo contrario, false.true if the StrokeCollectionConverter can convert a StrokeCollection to the sourceType; otherwise, false.

Se aplica a