SPListEventProperties.InvalidateList Method

Invalidates the current out-of-date list and prepares the list to be refreshed with current list items when the list is called again.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public Sub InvalidateList
'Usage
Dim instance As SPListEventProperties

instance.InvalidateList()
public void InvalidateList()

Remarks

Event properties are shared across event receivers. This includes the SPList object that gets created via event properties. If an event receiver performs some operation that makes the SPList object stale, it can call the InvalidateList method to invalidate the object.

See Also

Reference

SPListEventProperties Class

SPListEventProperties Members

Microsoft.SharePoint Namespace

InvalidateWeb()