ContentIterator.ProcessListItems Method (SPList, 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, _
itemProcessor As ContentIterator.ItemProcessor, _
errorCallout As ContentIterator.ItemProcessorErrorCallout _
)
'Usage
Dim instance As ContentIterator
Dim list As SPList
Dim itemProcessor As ContentIterator.ItemProcessor
Dim errorCallout As ContentIterator.ItemProcessorErrorCallout
instance.ProcessListItems(list, itemProcessor, _
errorCallout)
public void ProcessListItems(
SPList list,
ContentIterator.ItemProcessor itemProcessor,
ContentIterator.ItemProcessorErrorCallout errorCallout
)
Parameters
- list
Type: Microsoft.SharePoint.SPList
The list that contains the list items.
- 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.