SPFileVersionCollection.DeleteAllMinorVersions method

Deletes all the minor file version objects in the collection.

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

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