Langue

PointConverter.CanConvertTo(ITypeDescriptorContext, Type) Méthode

Définition

Détermine si une instance d’un peut Point être convertie en un autre 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

Paramètres

context
ITypeDescriptorContext

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

destinationType
Type

Type souhaité Point qui est évalué pour la conversion.

Retours

true si cela Point peut être converti en destinationType; sinon, false.

S’applique à