다음을 통해 공유


KeyValuePair Class

Specifies an optional property for an object in a cache.

Inheritance Hierarchy

System.Object
  Microsoft.Office.Server.ObjectCache.KeyValuePair

Namespace:  Microsoft.Office.Server.ObjectCache
Assembly:  Microsoft.Office.Server (in Microsoft.Office.Server.dll)

Syntax

'Declaration
Public Class KeyValuePair
'Usage
Dim instance As KeyValuePair
public class KeyValuePair

Remarks

This optional property provides an alternative way of accessing an item in a cache. You can use this property when you do not have access to the object’s identifier.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

KeyValuePair Members

Microsoft.Office.Server.ObjectCache Namespace