Langue

Int32RectConverter.CanConvertTo(ITypeDescriptorContext, Type) Méthode

Définition

Détermine si une instance d’un objet Int32Rect peut ê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é Int32Rect qui est évalué pour la conversion.

Retours

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

S’applique à