SPFolder.Recycle method

Sends the folder to the recycle bin.

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

public Guid Recycle()

Return value

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