ISPCache.Get Method

Returns the object with the specified unique identifier 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 Get ( _
    objectTypeName As String, _
    id As String _
) As Object
'Usage
Dim instance As ISPCache
Dim objectTypeName As String
Dim id As String
Dim returnValue As Object

returnValue = instance.Get(objectTypeName, _
    id)
Object Get(
    string objectTypeName,
    string id
)

Parameters

Return Value

Type: System.Object
Returns Object.

Remarks

This method returns the object without the metadata that is stored in SPCachedObject.

See Also

Reference

ISPCache Interface

ISPCache Members

Microsoft.Office.Server.ObjectCache Namespace