MemoryCacheSettingsCollection.IndexOf(MemoryCacheElement) Metod

Definition

Hämtar indexet för det angivna cachekonfigurationselementet MemoryCacheSettingsCollection i samlingen.

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

Parametrar

cache
MemoryCacheElement

Cachekonfigurationselementet som indexet ska hämtas för.

Returer

Indexet för konfigurationselementet för minnescachen.

Gäller för