Condividi tramite


SPFileVersion.Delete Method

Deletes the file 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 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