Share via


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

  • strQuery
    Type: System.String

    Contains query information that is used to provide additional filtering of the items in the list.

  • fRecursive
    Type: System.Boolean

    Indicates whether processing is recursive.

See also

Reference

ContentIterator class

ContentIterator members

ProcessListItems overload

Microsoft.Office.Server.Utilities namespace