Taal

ImageSourceConverter.CanConvertTo(ITypeDescriptorContext, Type) Methode

Definitie

Bepaalt of een exemplaar van ImageSource kan worden geconverteerd naar een ander 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

Typ contextinformatie die wordt gebruikt om de conversie te evalueren.

destinationType
Type

Het gewenste type om de conversie naar te evalueren.

Retouren

trueals het conversieprogramma dit exemplaar van ImageSource; anders kan converteren. false

Uitzonderingen

context exemplaar is geen ImageSource.

Van toepassing op