共用方式為


SPFile.Recycle method

將檔案傳送到 [資源回收筒]。

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

Syntax

'宣告
Public Function Recycle As Guid
'用途
Dim instance As SPFile
Dim returnValue As Guid

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

傳回值

Type: System.Guid
System.Guid物件,識別檔案。

請參閱

參照

SPFile class

SPFile members

Microsoft.SharePoint namespace

RevertContentStream

SPRecycleBinType