SPContext.ResetItem Method

Forces a retrieval of the data that is associated with the SPItem object, even if the data was retrieved earlier.

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

public void ResetItem()

The user of the SharePoint object model calls this method after it is identified that a change was made to the current item. After the current item is changed, the cached data in the current SPContext object, including data that came from the current item or its file, can no longer be trusted. As a result, all private member variables that come from the item or its file must be reset.