ContentIterator.ProcessListItems method (SPList, String, Boolean, 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, _
strQuery As String, _
fRecursive As Boolean, _
itemsProcessor As ContentIterator.ItemsProcessor, _
errorCallout As ContentIterator.ItemsProcessorErrorCallout _
)
'Usage
Dim instance As ContentIterator
Dim list As SPList
Dim strQuery As String
Dim fRecursive As Boolean
Dim itemsProcessor As ContentIterator.ItemsProcessor
Dim errorCallout As ContentIterator.ItemsProcessorErrorCallout
instance.ProcessListItems(list, strQuery, _
fRecursive, itemsProcessor, errorCallout)
public void ProcessListItems(
SPList list,
string strQuery,
bool fRecursive,
ContentIterator.ItemsProcessor itemsProcessor,
ContentIterator.ItemsProcessorErrorCallout errorCallout
)
Parameters
list
Type: Microsoft.SharePoint.SPListThe list that contains the list items.
strQuery
Type: System.StringContains query information that is used to provide additional filtering of the items in the list.
fRecursive
Type: System.BooleanIndicates whether processing is recursive.
itemsProcessor
Type: Microsoft.Office.Server.Utilities.ContentIterator.ItemsProcessorUsed to process individual items in the list.
errorCallout
Type: Microsoft.Office.Server.Utilities.ContentIterator.ItemsProcessorErrorCalloutUsed to handle and log errors while processing list items.