Edit

Share via


StrokeCollectionConverter.CanConvertTo(ITypeDescriptorContext, Type) Method

Definition

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

Parameters

context
ITypeDescriptorContext

An ITypeDescriptorContext that provides the format context.

destinationType
Type

The Type to convert to.

Returns

true if the StrokeCollectionConverter can convert a StrokeCollection to the sourceType; otherwise, false.

Applies to