Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the specified SPCachedObject from the cache with the specified object type.
Namespace: Microsoft.Office.Server.ObjectCache
Assembly: Microsoft.Office.Server (in Microsoft.Office.Server.dll)
Syntax
'Declaration
Function GetCacheObject ( _
objectTypeName As String, _
id As String _
) As SPCachedObject
'Usage
Dim instance As ISPCache
Dim objectTypeName As String
Dim id As String
Dim returnValue As SPCachedObject
returnValue = instance.GetCacheObject(objectTypeName, _
id)
SPCachedObject GetCacheObject(
string objectTypeName,
string id
)
Parameters
- objectTypeName
Type: System.String
- id
Type: System.String
Return Value
Type: Microsoft.Office.Server.ObjectCache.SPCachedObject
Returns SPCachedObject.