Поделиться через


MemoryBackedCacheBase<TCacheEntry>.Item Property

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The latest Enterprise Library information can be found at the Enterprise Library site.

Gets or sets the default indexer for the ObjectCache class.

Namespace: Microsoft.Practices.EnterpriseLibrary.Caching.InMemory
Assembly: Microsoft.Practices.EnterpriseLibrary.Caching.Silverlight (in Microsoft.Practices.EnterpriseLibrary.Caching.Silverlight.dll) Version: 5.0.505.0

Syntax

public override Object this[
    string key
] { get; set; }
'Declaration
Public Overrides Property Item ( _
    key As String _
) As Object
    Get
    Set
public:
virtual property Object^ Item[String^ key] {
    Object^ get (String^ key) override;
    void set (String^ key, Object^ value) override;
}

Parameters

See Also

MemoryBackedCacheBase<TCacheEntry> Class

Microsoft.Practices.EnterpriseLibrary.Caching.InMemory Namespace