Rect3DConverter.CanConvertFrom(ITypeDescriptorContext, Type) Méthode

Définition

Obtient une valeur qui indique si ce convertisseur de type peut convertir à partir d'un type donné.

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

Paramètres

context
ITypeDescriptorContext

ITypeDescriptorContext pour cet appel.

sourceType
Type

Type interrogé pour la prise en charge.

Retours

Boolean

true si ce convertisseur peut effectuer une conversion à partir du type fourni ; sinon, false.

S’applique à