PixelFormatConverter.CanConvertFrom(ITypeDescriptorContext, Type) Méthode

Définition

Détermine si le convertisseur peut convertir un objet du type donné en une instance de PixelFormat.

public:
 override bool CanConvertFrom(System::ComponentModel::ITypeDescriptorContext ^ td, Type ^ t);
public override bool CanConvertFrom (System.ComponentModel.ITypeDescriptorContext td, Type t);
override this.CanConvertFrom : System.ComponentModel.ITypeDescriptorContext * Type -> bool
Public Overrides Function CanConvertFrom (td As ITypeDescriptorContext, t As Type) As Boolean

Paramètres

td
ITypeDescriptorContext

Informations de contexte de type utilisées pour évaluer la conversion.

t
Type

Type de la source qui est en cours d'évaluation pour conversion.

Retours

Boolean

true si le convertisseur peut convertir le type fourni en une instance de PixelFormat ; sinon, false.

S’applique à