Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

SPListItemVersionCollection.DeleteAll method

Deletes all of the items in the collection except for the current version.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
public void DeleteAll()

This DeleteAll method permanently deletes all but the current version from the collection. To move the collection into the recycle bin, use the RecycleAll method.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.