Export (0) Print
Expand All

MemoryCacheSettingsCollection.IndexOf Method

.NET Framework 4.6 and 4.5

Gets the index of the specified cache configuration element in the MemoryCacheSettingsCollection collection.

Namespace:  System.Runtime.Caching.Configuration
Assembly:  System.Runtime.Caching (in System.Runtime.Caching.dll)

public int IndexOf(
	MemoryCacheElement cache
)

Parameters

cache
Type: System.Runtime.Caching.Configuration.MemoryCacheElement

The cache configuration element to get the index for.

Return Value

Type: System.Int32
The index of the memory cache configuration element.

.NET Framework

Supported in: 4.6, 4.5, 4
Show:
© 2015 Microsoft