SPWebPartCollection.CacheInvalidate method

NOTE: This API is now obsolete.

Obsolete. Invalidates the cache for a Web Part, including the output and Web Part caches.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<ObsoleteAttribute("Use SPLimitedWebPartManager instead.")> _
Public Sub CacheInvalidate ( _
    storageKey As Guid, _
    storage As Storage _
)
'Usage
Dim instance As SPWebPartCollection
Dim storageKey As Guid
Dim storage As Storage

instance.CacheInvalidate(storageKey, _
    storage)
[ObsoleteAttribute("Use SPLimitedWebPartManager instead.")]
public void CacheInvalidate(
    Guid storageKey,
    Storage storage
)

Parameters

  • storageKey
    Type: System.Guid

    A GUID that identifies the Web Part.

See also

Reference

SPWebPartCollection class

SPWebPartCollection members

Microsoft.SharePoint namespace