Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Deletes the list item version.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
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.