Share via


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