SPListItemVersion.Delete method

Deletes the list item version.

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

public void Delete()

ExceptionCondition
SPException

The list item version is the current version.

This method deletes the list item version from the store and marks the list item version collection as modified.

Show: