SPFile.Recycle method

Sends the file to the recycle bin.

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

'Declaration
Public Function Recycle As Guid
'Usage
Dim instance As SPFile
Dim returnValue As Guid

returnValue = instance.Recycle()

Return value

Type: System.Guid
A System.Guid object that identifies the file.
Show: