Share via


Item Property

Gets a CommerceCache from the collection, based upon the cache name.

Namespace:  Microsoft.CommerceServer.Runtime.Caching
Assembly:  Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)

Syntax

'Declaration
Public ReadOnly Property Item ( _
    cacheName As String _
) As CommerceCache
'Usage
Dim instance As CommerceCacheCollection
Dim cacheName As String
Dim value As CommerceCache

value = instance.Item(cacheName)
public CommerceCache Item[
    string cacheName
] { get; }
public:
property CommerceCache^ Item[String^ cacheName] {
    CommerceCache^ get (String^ cacheName);
}
JScript does not support indexed properties.

Parameters

Property Value

Type: Microsoft.CommerceServer.Runtime.Caching..::.CommerceCache
The CommerceCache object in the CommerceCacheCollection collection with the specified name.

Remarks

The indexer to allow for accessing a CommerceCache object based on cache name. Gets the CommerceCache object in the CommerceCacheCollection collection with the specified name.

Permissions

See Also

Reference

CommerceCacheCollection Class

CommerceCacheCollection Members

Microsoft.CommerceServer.Runtime.Caching Namespace