StrokeCollectionConverter.CanConvertFrom(ITypeDescriptorContext, Type) Metodo

Definizione

Restituisce un valore che indica se StrokeCollectionConverter può convertire un oggetto di un tipo specificato in un oggetto 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

Parametri

context
ITypeDescriptorContext

Oggetto ITypeDescriptorContext che fornisce il contesto di formato.

sourceType
Type

Oggetto Type dal quale eseguire la conversione.

Restituisce

Boolean

true se StrokeCollectionConverter può convertire un oggetto di tipo sourceType in un oggetto StrokeCollection; in caso contrario, false.

Si applica a