ContentIterator.ProcessListItems Method (SPList, SPQuery, ContentIterator.ItemsProcessor, ContentIterator.ItemsProcessorErrorCallout)
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, _
query As SPQuery, _
itemsProcessor As ContentIterator.ItemsProcessor, _
errorCallout As ContentIterator.ItemsProcessorErrorCallout _
)
'Usage
Dim instance As ContentIterator
Dim list As SPList
Dim query As SPQuery
Dim itemsProcessor As ContentIterator.ItemsProcessor
Dim errorCallout As ContentIterator.ItemsProcessorErrorCallout
instance.ProcessListItems(list, query, _
itemsProcessor, errorCallout)
public void ProcessListItems(
SPList list,
SPQuery query,
ContentIterator.ItemsProcessor itemsProcessor,
ContentIterator.ItemsProcessorErrorCallout errorCallout
)
Parameters
- list
Type: Microsoft.SharePoint.SPList
The list that contains the list items.
- query
Type: Microsoft.SharePoint.SPQuery
Provides additional filtering of the items in the list.
- itemsProcessor
Type: Microsoft.Office.Server.Utilities.ContentIterator.ItemsProcessor
Used to process individual items in the list.
- errorCallout
Type: Microsoft.Office.Server.Utilities.ContentIterator.ItemsProcessorErrorCallout
Used to handle and log errors while processing list items.