SPFolder.Recycle method

Sends the folder to the recycle bin.

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

Syntax

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

returnValue = instance.Recycle()
public Guid Recycle()

Return value

Type: System.Guid
A System.Guid that represents the transaction ID of the delete transaction.

See also

Reference

SPFolder class

SPFolder members

Microsoft.SharePoint namespace