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
- cacheName
Type: System..::.String
The name of the cache to retrieve.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.