RequestCachePolicyConverter.CanConvertFrom 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 un objet du type spécifié en type de ce convertisseur, à l’aide du contexte spécifié.
public:
override bool CanConvertFrom(System::ComponentModel::ITypeDescriptorContext ^ td, Type ^ t);
public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext td, Type t);
override this.CanConvertFrom : System.ComponentModel.ITypeDescriptorContext * Type -> bool
Public Overrides Function CanConvertFrom (td As ITypeDescriptorContext, t As Type) As Boolean
Paramètres
Contexte de format.
- t
- Type
Type à convertir.
Retours
true si ce convertisseur peut effectuer la conversion ; sinon, false.
Remarques
CanConvertFrom est introduit dans .NET Framework version 3.5. Pour plus d’informations, consultez Versions et dépendances.