Size3DConverter.CanConvertFrom(ITypeDescriptorContext, Type) Méthode

Définition

Détermine si une classe peut être convertie à partir d'un type donné en une instance d'une structure Size3D.

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

Décrit les informations de contexte d’un type.

sourceType
Type

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

Retours

Indique si le type peut être converti en une structure Size3D.

Valeur Signification
false Le convertisseur ne peut pas effectuer la conversion à partir du type fourni.
true Le convertisseur peut convertir le type fourni en Size3D.

S’applique à