Caching Library

CacheItemMetadataDictionary.Item Property

Restituisce il metadato corrispondente alla chiave specificata

[C#] In C#, this property is the indexer for the CacheItemMetadataDictionary class.

[Visual Basic]
Public Default Property ReadOnly Item( _ 
   ByVal key As String _ 
) As CacheItemMetadata
[C#]
public CacheItemMetadata this[
   string key
] { get; }
[C++]
public: __property CacheItemMetadata* get_Item(
   String* key
);
[JScript]
returnValue = CacheItemMetadataDictionaryObject.Item( key );
-or-
returnValue = CacheItemMetadataDictionaryObject( key );

[JScript] In JScript, you can use the default indexed properties defined by a type, but you cannot explicitly define your own. However, specifying the expando attribute on a class automatically provides a default indexed property whose type is Object and whose index type is String.

Parameters

key
Chiave corrispondente al metadato richiesto

See Also

CacheItemMetadataDictionary Class | Caching Namespace