Partilhar via


SPFileVersionCollection.DeleteAllMinorVersions Method

Deletes all the minor 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 DeleteAllMinorVersions
'Usage
Dim instance As SPFileVersionCollection

instance.DeleteAllMinorVersions()
public void DeleteAllMinorVersions()

Remarks

This method clears the file version information from the collection.

See Also

Reference

SPFileVersionCollection Class

SPFileVersionCollection Members

Microsoft.SharePoint Namespace