Share via


SPFileVersion.Delete method

Deletes the file version.

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

Syntax

'Declaration
Public Sub Delete
'Usage
Dim instance As SPFileVersion

instance.Delete()
public void Delete()

Remarks

This method deletes the file version, and marks the file version collection to which it belongs as modified.

See also

Reference

SPFileVersion class

SPFileVersion members

Microsoft.SharePoint namespace