ContentIterator.ProcessListItems Method (SPList, Boolean, ContentIterator.ItemProcessor, ContentIterator.ItemProcessorErrorCallout)
Processes list items.
Namespace: Microsoft.Office.Server.Utilities
Assembly: Microsoft.Office.Server (in Microsoft.Office.Server.dll)
Syntax
'Declaration
Public Sub ProcessListItems ( _
list As SPList, _
fIterateInReverseOrder As Boolean, _
itemProcessor As ContentIterator.ItemProcessor, _
errorCallout As ContentIterator.ItemProcessorErrorCallout _
)
'Usage
Dim instance As ContentIterator
Dim list As SPList
Dim fIterateInReverseOrder As Boolean
Dim itemProcessor As ContentIterator.ItemProcessor
Dim errorCallout As ContentIterator.ItemProcessorErrorCallout
instance.ProcessListItems(list, fIterateInReverseOrder, _
itemProcessor, errorCallout)
public void ProcessListItems(
SPList list,
bool fIterateInReverseOrder,
ContentIterator.ItemProcessor itemProcessor,
ContentIterator.ItemProcessorErrorCallout errorCallout
)
Parameters
- list
Type: Microsoft.SharePoint.SPList
The list that contains the list items.
- fIterateInReverseOrder
Type: System.Boolean
true processes the list items in reverse order, from last to first.
- itemProcessor
Type: Microsoft.Office.Server.Utilities.ContentIterator.ItemProcessor
Used to process individual items in the list.
- errorCallout
Type: Microsoft.Office.Server.Utilities.ContentIterator.ItemProcessorErrorCallout
Used to handle and log errors while processing list items.