Condividi tramite


SPFileVersion.Recycle Method

Sends the file version to the recycle bin.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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