SPWeb.GetRecycleBinItems 方法
Gets the recycle bin items that are based on the specified query.
命名空间: Microsoft.SharePoint
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
Public Function GetRecycleBinItems ( _
query As SPRecycleBinQuery _
) As SPRecycleBinItemCollection
用法
Dim instance As SPWeb
Dim query As SPRecycleBinQuery
Dim returnValue As SPRecycleBinItemCollection
returnValue = instance.GetRecycleBinItems(query)
public SPRecycleBinItemCollection GetRecycleBinItems(
SPRecycleBinQuery query
)
参数
query
类型:Microsoft.SharePoint.SPRecycleBinQueryThe query for items in the recycle bin.
返回值
类型:Microsoft.SharePoint.SPRecycleBinItemCollection
The recycle bin items that match the query.
备注
This method uses the properties of the query parameter to limit the number of items to return or set the order condition, but it cannot filter the specified item by properties of the item.