Share via


SPRecycleBinItem class

代表在網站或網站集合資源回收筒中的項目。

Inheritance hierarchy

System.Object
  Microsoft.SharePoint.SPRecycleBinItem

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

Syntax

'宣告
Public NotInheritable Class SPRecycleBinItem _
    Implements IComparable
'用途
Dim instance As SPRecycleBinItem
public sealed class SPRecycleBinItem : IComparable

備註

若要傳回SPRecycleBinItemCollection物件,代表集合中的使用者 (網站) 或網站集合資源回收筒的項目,請使用RecycleBinSPWeb類別屬性,或是SPSite類別之RecycleBin屬性。

若要從集合中傳回單一清單項目使用索引器。例如,若集合已指派給變數 myRecycleBinItems,使用myRecycleBinItems[index]以 C# 或 Visual Basic,其中index是索引編號集合中的項目中的myRecycleBinItems(index) 。

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

請參閱

參照

SPRecycleBinItem members

Microsoft.SharePoint namespace