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.
Deletes the file version object at the specified index 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 Delete ( _
iIndex As Integer _
)
'Usage
Dim instance As SPFileVersionCollection
Dim iIndex As Integer
instance.Delete(iIndex)
public void Delete(
int iIndex
)
Parameters
iIndex
Type: System.Int32A 32-bit integer that specifies the file version object to delete.
Remarks
This method calls DeleteByID(Int32) method with this[iIndex].ID.
This method clears the file version information from the collection.