Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.