次の方法で共有


SPFile.Recycle method

Sends the file 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 SPFile
Dim returnValue As Guid

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

Return value

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

See also

Reference

SPFile class

SPFile members

Microsoft.SharePoint namespace

RevertContentStream

SPRecycleBinType