SPFolder.Recycle method

Sends the folder to the recycle bin.

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


Public Function Recycle As Guid
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


SPFolder class

SPFolder members

Microsoft.SharePoint namespace