SPFileVersionCollection.DeleteAll method

Deletes all the file version objects in the collection.

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

Syntax

'Declaration
Public Sub DeleteAll
'Usage
Dim instance As SPFileVersionCollection

instance.DeleteAll()
public void DeleteAll()

Remarks

This method clears the file version information from the collection.

See also

Reference

SPFileVersionCollection class

SPFileVersionCollection members

Microsoft.SharePoint namespace