ContentIterator.ProcessItems method (SPListItemCollection, ContentIterator.ItemProcessor, ContentIterator.ItemProcessorErrorCallout)
Iterates over all items in a collection.
Namespace: Microsoft.Office.Server.Utilities
Assembly: Microsoft.Office.Server (in Microsoft.Office.Server.dll)
Syntax
'Declaration
Public Sub ProcessItems ( _
items As SPListItemCollection, _
itemProcessor As ContentIterator.ItemProcessor, _
errorCallout As ContentIterator.ItemProcessorErrorCallout _
)
'Usage
Dim instance As ContentIterator
Dim items As SPListItemCollection
Dim itemProcessor As ContentIterator.ItemProcessor
Dim errorCallout As ContentIterator.ItemProcessorErrorCallout
instance.ProcessItems(items, itemProcessor, _
errorCallout)
public void ProcessItems(
SPListItemCollection items,
ContentIterator.ItemProcessor itemProcessor,
ContentIterator.ItemProcessorErrorCallout errorCallout
)
Parameters
items
Type: Microsoft.SharePoint.SPListItemCollectionA list of items to process.
itemProcessor
Type: Microsoft.Office.Server.Utilities.ContentIterator.ItemProcessorThe callout to process the items.
errorCallout
Type: Microsoft.Office.Server.Utilities.ContentIterator.ItemProcessorErrorCalloutThe optional callout to handle errors.