다음을 통해 공유


SPLimitedWebPartManager.CacheInvalidate Method

Invalidates cached data.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Sub CacheInvalidate ( _
    webPart As WebPart, _
    storage As Storage _
)
'Usage
Dim instance As SPLimitedWebPartManager
Dim webPart As WebPart
Dim storage As Storage

instance.CacheInvalidate(webPart, storage)
public void CacheInvalidate(
    WebPart webPart,
    Storage storage
)

Parameters

Remarks

If a Web Part derives from Microsoft.SharePoint.WebPartPages.WebPart, and caches data using the PartCacheWrite method from that class, this method will invalidate that cache data.

See Also

Reference

SPLimitedWebPartManager Class

SPLimitedWebPartManager Members

Microsoft.SharePoint.WebPartPages Namespace