Share via


ContentIterator.ProcessListItems method (SPList, SPQuery, 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, _
    query As SPQuery, _
    itemProcessor As ContentIterator.ItemProcessor, _
    errorCallout As ContentIterator.ItemProcessorErrorCallout _
)
'Usage
Dim instance As ContentIterator
Dim list As SPList
Dim query As SPQuery
Dim itemProcessor As ContentIterator.ItemProcessor
Dim errorCallout As ContentIterator.ItemProcessorErrorCallout

instance.ProcessListItems(list, query, _
    itemProcessor, errorCallout)
public void ProcessListItems(
    SPList list,
    SPQuery query,
    ContentIterator.ItemProcessor itemProcessor,
    ContentIterator.ItemProcessorErrorCallout errorCallout
)

Parameters

See also

Reference

ContentIterator class

ContentIterator members

ProcessListItems overload

Microsoft.Office.Server.Utilities namespace