SPListItemVersion.Recycle method

Recycles the list item version.

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

public void Recycle()

ExceptionCondition
SPException

The list item version is the current version.

This method removes the list item version to the recycle bin and marks the list item version collection as modified.

Show: