ContentIterator.ProcessItems Method (SPListItemCollection, Boolean, ContentIterator.ItemProcessor, ContentIterator.ItemProcessorErrorCallout)

Iterates over items in a folder.

Namespace:  Microsoft.Office.Server.Utilities
Assembly:  Microsoft.Office.Server (in Microsoft.Office.Server.dll)

Syntax

'Declaration
Public Sub ProcessItems ( _
    items As SPListItemCollection, _
    fIncludeFolderItems As Boolean, _
    itemProcessor As ContentIterator.ItemProcessor, _
    errorCallout As ContentIterator.ItemProcessorErrorCallout _
)
'Usage
Dim instance As ContentIterator
Dim items As SPListItemCollection
Dim fIncludeFolderItems As Boolean
Dim itemProcessor As ContentIterator.ItemProcessor
Dim errorCallout As ContentIterator.ItemProcessorErrorCallout

instance.ProcessItems(items, fIncludeFolderItems, _
    itemProcessor, errorCallout)
public void ProcessItems(
    SPListItemCollection items,
    bool fIncludeFolderItems,
    ContentIterator.ItemProcessor itemProcessor,
    ContentIterator.ItemProcessorErrorCallout errorCallout
)

Parameters

  • fIncludeFolderItems
    Type: System.Boolean
    If true, list items that are folders that will be returned; if false, items that are folders are filtered out.

See Also

Reference

ContentIterator Class

ContentIterator Members

ProcessItems Overload

Microsoft.Office.Server.Utilities Namespace