MemoryCacheSettingsCollection.IndexOf(MemoryCacheElement) 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.
Obtient l'index de l'élément de configuration de cache spécifié dans la collection MemoryCacheSettingsCollection.
public:
int IndexOf(System::Runtime::Caching::Configuration::MemoryCacheElement ^ cache);
public int IndexOf (System.Runtime.Caching.Configuration.MemoryCacheElement cache);
member this.IndexOf : System.Runtime.Caching.Configuration.MemoryCacheElement -> int
Public Function IndexOf (cache As MemoryCacheElement) As Integer
Paramètres
- cache
- MemoryCacheElement
Élément de configuration de cache pour lequel obtenir l'index.
Retours
Index de l'élément de configuration du cache mémoire.
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de l’année 2024, nous abandonnerons progressivement le mécanisme de retour d’information GitHub Issues pour le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultez :Soumettre et afficher des commentaires pour