Share via


MemoryCacheSettingsCollection.IndexOf(MemoryCacheElement) Méthode

Définition

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 à