ContentIterator.ProcessListItems Method (SPList, String, UInt32, Boolean, SPFolder, 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, _
    rowLimit As UInteger, _
    fRecursive As Boolean, _
    folder As SPFolder, _
    itemsProcessor As ContentIterator.ItemsProcessor, _
    errorCallout As ContentIterator.ItemsProcessorErrorCallout _
)
'Usage
Dim instance As ContentIterator
Dim list As SPList
Dim strQuery As String
Dim rowLimit As UInteger
Dim fRecursive As Boolean
Dim folder As SPFolder
Dim itemsProcessor As ContentIterator.ItemsProcessor
Dim errorCallout As ContentIterator.ItemsProcessorErrorCallout

instance.ProcessListItems(list, strQuery, _
    rowLimit, fRecursive, folder, itemsProcessor, _
    errorCallout)
public void ProcessListItems(
    SPList list,
    string strQuery,
    uint rowLimit,
    bool fRecursive,
    SPFolder folder,
    ContentIterator.ItemsProcessor itemsProcessor,
    ContentIterator.ItemsProcessorErrorCallout errorCallout
)

Parameters

  • strQuery
    Type: System.String
    A string that contains query information that is used to provide additional filtering of the items in the list.
  • rowLimit
    Type: System.UInt32
    Indicates the maximum number of records to process.
  • fRecursive
    Type: System.Boolean
    Indicates whether processing is recursive.

See Also

Reference

ContentIterator Class

ContentIterator Members

ProcessListItems Overload

Microsoft.Office.Server.Utilities Namespace