SPCache.Delete Method (String, String, Boolean)
Deletes an item with the specified string 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
Public Sub Delete ( _
objectTypeName As String, _
id As String, _
recursive As Boolean _
)
'Usage
Dim instance As SPCache
Dim objectTypeName As String
Dim id As String
Dim recursive As Boolean
instance.Delete(objectTypeName, id, recursive)
public void Delete(
string objectTypeName,
string id,
bool recursive
)
Parameters
- objectTypeName
Type: System.String
- id
Type: System.String
- recursive
Type: System.Boolean
A Boolean value that determines whether child objects of the deleted object are to be removed.