StrokeCollectionConverter.CanConvertFrom(ITypeDescriptorContext, Type) Methode

Definition

Gibt einen Wert zurück, der angibt, ob ein StrokeCollectionConverter Objekt eines angegebenen Typs in ein 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

Parameter

context
ITypeDescriptorContext

Eine ITypeDescriptorContext , die den Formatkontext bereitstellt.

sourceType
Type

Der Type zu konvertierende Text.

Gibt zurück

true if the StrokeCollectionConverter can convert an object of type sourceType to a StrokeCollection; otherwise, false.

Gilt für: