CommerceCacheCollection Class (BCL)

Represents a collection of caches for the current site.

System.Object
   Microsoft.CommerceServer.Runtime.Caching.CommerceCacheCollection

Public Instance Constructor

Constructor Description
CommerceCacheCollection Constructor Creates a new instance of the CommerceCacheCollection class for the site.

 

Public Instance Methods

Method Description
Add(String, CommerceCache) Add a cache to the collection.
CopyTo(Array, Int32) Copies the cache objects to an array, starting at a particular array index.
GetEnumerator Enumerates through the caches in the CommerceCacheCollection collection.

 

Public Instance Properties

Property Description
Count Gets the number of caches contained in the collection.
IsSynchronized Gets a value indicating whether access to the collection is synchronized.
Item(String) Indexer to allow for accessing a cache based on the cache name.
SyncRoot Gets an object that can be used for synchronized access to the collection.

 

Requirements

Namespace: Microsoft.CommerceServer.Runtime.Caching

Platforms: Windows 2000, Windows Server 2003

Assembly: Microsoft.CommerceServer.Runtime.dll

Copyright © 2005 Microsoft Corporation.
All rights reserved.