LinkConverter.CanConvertTo(ITypeDescriptorContext, Type) Méthode

Définition

Récupère une valeur qui détermine si cela LinkConverter peut convertir un objet ayant le contexte spécifié en type spécifié.

public:
 override bool CanConvertTo(System::ComponentModel::ITypeDescriptorContext ^ context, Type ^ destinationType);
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

Fournit ITypeDescriptorContext des informations contextuelles sur l’objet à convertir.

destinationType
Type

Type vers lequel convertir l’objet.

Retours

true si cela LinkConverter peut convertir l’objet spécifié ; sinon, false.

S’applique à

Voir aussi