ISPCache.Put Method (String, SPCachedObject)
Writes the specified object to the cache with the specified object type.
Namespace: Microsoft.Office.Server.ObjectCache
Assembly: Microsoft.Office.Server (in Microsoft.Office.Server.dll)
Syntax
'Declaration
Sub Put ( _
objectTypeName As String, _
cacheObject As SPCachedObject _
)
'Usage
Dim instance As ISPCache
Dim objectTypeName As String
Dim cacheObject As SPCachedObject
instance.Put(objectTypeName, cacheObject)
void Put(
string objectTypeName,
SPCachedObject cacheObject
)
Parameters
- objectTypeName
Type: System.String
- cacheObject
Type: Microsoft.Office.Server.ObjectCache.SPCachedObject