Share via


SPFileVersion.Recycle method

Sends the file version to the recycle bin.

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

Syntax

'Declaration
Public Sub Recycle
'Usage
Dim instance As SPFileVersion

instance.Recycle()
public void Recycle()

Remarks

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

See also

Reference

SPFileVersion class

SPFileVersion members

Microsoft.SharePoint namespace