SPFileVersionCollection.DeleteByLabel method

Deletes the file version object with the specified version label.

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

Syntax

'Declaration
Public Sub DeleteByLabel ( _
    versionlabel As String _
)
'Usage
Dim instance As SPFileVersionCollection
Dim versionlabel As String

instance.DeleteByLabel(versionlabel)
public void DeleteByLabel(
    string versionlabel
)

Parameters

Remarks

This method clears the file version information from the collection.

See also

Reference

SPFileVersionCollection class

SPFileVersionCollection members

Microsoft.SharePoint namespace