RequestCachePolicyConverter.CanConvertTo(ITypeDescriptorContext, Type) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Retourne une valeur qui indique si ce convertisseur peut convertir l’objet en type spécifié, à l’aide du contexte spécifié.
public:
override bool CanConvertTo(System::ComponentModel::ITypeDescriptorContext ^ typeDescriptorContext, Type ^ destinationType);
public override bool CanConvertTo(System.ComponentModel.ITypeDescriptorContext typeDescriptorContext, Type destinationType);
override this.CanConvertTo : System.ComponentModel.ITypeDescriptorContext * Type -> bool
Public Overrides Function CanConvertTo (typeDescriptorContext As ITypeDescriptorContext, destinationType As Type) As Boolean
Paramètres
- typeDescriptorContext
- ITypeDescriptorContext
Contexte de format.
- destinationType
- Type
Type interrogé pour prise en charge.
Retours
true si ce convertisseur peut effectuer la conversion ; sinon, false.
Remarques
CanConvertTo est introduit dans .NET Framework version 3.5. Pour plus d’informations, consultez Versions et dépendances.