Udostępnij za pośrednictwem


ObjectCache.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.Runtime.Caching
Assembly: Microsoft.Practices.EnterpriseLibrary.Caching.Silverlight (in Microsoft.Practices.EnterpriseLibrary.Caching.Silverlight.dll) Version: 5.0.505.0

Syntax

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

Parameters

See Also

ObjectCache Class

Microsoft.Practices.EnterpriseLibrary.Caching.Runtime.Caching Namespace