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

  • recursive
    Type: System.Boolean
    A Boolean value that determines whether child objects of the deleted object are to be removed.

See Also

Reference

SPCache Class

SPCache Members

Delete Overload

Microsoft.Office.Server.ObjectCache Namespace