SPRecycleBinItemCollection class
表示SPRecycleBinItem物件的集合。
Inheritance hierarchy
System.Object
Microsoft.SharePoint.Administration.SPAutoSerializingObject
Microsoft.SharePoint.SPBaseCollection
Microsoft.SharePoint.SPRecycleBinItemCollection
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public NotInheritable Class SPRecycleBinItemCollection _
Inherits SPBaseCollection
'用途
Dim instance As SPRecycleBinItemCollection
public sealed class SPRecycleBinItemCollection : SPBaseCollection
備註
若要傳回SPRecycleBinItemCollection物件,表示使用者 (網站) 或網站集合資源回收筒] 中的項目集合,請使用SPWeb類別的RecycleBin屬性,或是SPSite類別的 [ RecycleBin ] 屬性。
使用索引子來從集合傳回單一清單項目。例如,如果集合指派給一個名為 myRecycleBinItems 變數中,使用在 C# 的myRecycleBinItems[index]或myRecycleBinItems(index)index所在集合中項目的索引編號的 Visual Basic 中。
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.