SPListItemVersion.Delete method

Deletes the list item version.

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

Syntax

'Declaration
Public Sub Delete
'Usage
Dim instance As SPListItemVersion

instance.Delete()
public void Delete()

Exceptions

Exception Condition
SPException

The list item version is the current version.

Remarks

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

See also

Reference

SPListItemVersion class

SPListItemVersion members

Microsoft.SharePoint namespace