Share via


ContentIterator.ItemsProcessor delegate

Represents a delegate for processing a page of list items.

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

Syntax

'Declaration
Public Delegate Sub ItemsProcessor ( _
    items As SPListItemCollection _
)
'Usage
Dim instance As New ItemsProcessor(AddressOf HandlerMethod)
public delegate void ItemsProcessor(
    SPListItemCollection items
)

Parameters

Remarks

A delegate of this type must be passed to certain overloads of the ProcessListItems method. This delegate will be called for each page of list items in the iteration. Unless there is a specific need to process the page of list items instead of just processing each individual list item, it is recommended to use the ProcessListItems overloads which accept a ContentIterator.ItemProcessor delegate.

See also

Reference

Microsoft.Office.Server.Utilities namespace