Sdílet prostřednictvím


StrokeCollectionConverter.CanConvertFrom(ITypeDescriptorContext, Type) Metoda

Definice

Vrátí hodnotu, která označuje, zda StrokeCollectionConverter lze převést objekt zadaného typu na 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

Parametry

sourceType
Type

Převod Type z.

Návraty

Boolean

trueStrokeCollectionConverter pokud lze převést objekt typu sourceType na StrokeCollection; v opačném případě false.

Platí pro