Språk

StrokeCollectionConverter.CanConvertTo(ITypeDescriptorContext, Type) Metod

Definition

Returnerar ett värde som anger om StrokeCollectionConverter kan konvertera en StrokeCollection till den angivna typen.

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

Parametrar

context
ITypeDescriptorContext

En ITypeDescriptorContext som tillhandahåller formatkontexten.

destinationType
Type

Att Type konvertera till.

Returer

true StrokeCollectionConverter om kan konvertera en StrokeCollection till destinationType, annars , false.

Gäller för