ContentIterator.ProcessFiles Method (SPListItemCollection, ContentIterator.FileProcessor, ContentIterator.FileProcessorErrorCallout)
Iterates over all of the files in an item collection.
Namespace: Microsoft.Office.Server.Utilities
Assembly: Microsoft.Office.Server (in Microsoft.Office.Server.dll)
Syntax
'Declaration
Public Sub ProcessFiles ( _
items As SPListItemCollection, _
fileProcessor As ContentIterator.FileProcessor, _
errorCallout As ContentIterator.FileProcessorErrorCallout _
)
'Usage
Dim instance As ContentIterator
Dim items As SPListItemCollection
Dim fileProcessor As ContentIterator.FileProcessor
Dim errorCallout As ContentIterator.FileProcessorErrorCallout
instance.ProcessFiles(items, fileProcessor, _
errorCallout)
public void ProcessFiles(
SPListItemCollection items,
ContentIterator.FileProcessor fileProcessor,
ContentIterator.FileProcessorErrorCallout errorCallout
)
Parameters
- items
Type: Microsoft.SharePoint.SPListItemCollection
A list of items which are files to process.
- fileProcessor
Type: Microsoft.Office.Server.Utilities.ContentIterator.FileProcessor
The callout to process the files.
- errorCallout
Type: Microsoft.Office.Server.Utilities.ContentIterator.FileProcessorErrorCallout
The optional callout to handle errors.