SPFileVersionCollection.RecycleAll Method
Recycles all file version objects in the collection.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public Sub RecycleAll
'Usage
Dim instance As SPFileVersionCollection
instance.RecycleAll()
public void RecycleAll()