SPFileVersionCollection.DeleteByID method
Removes the file version object with the specified integer ID from the collection.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub DeleteByID ( _
vid As Integer _
)
'Usage
Dim instance As SPFileVersionCollection
Dim vid As Integer
instance.DeleteByID(vid)
public void DeleteByID(
int vid
)
Parameters
vid
Type: System.Int32The file version to remove.
Remarks
This method removes the file version information from the collection.