ContentIterator.ProcessFile Method
Determines if a SPList object or a SPFolder object has items of a specified content type for a batch of items on a processed file.
Namespace: Microsoft.Office.Server.Utilities
Assembly: Microsoft.Office.Server (in Microsoft.Office.Server.dll)
Syntax
'Declaration
Protected Sub ProcessFile ( _
file As SPFile, _
fileProcessor As ContentIterator.FileProcessor, _
errorCallout As ContentIterator.FileProcessorErrorCallout _
)
'Usage
Dim file As SPFile
Dim fileProcessor As ContentIterator.FileProcessor
Dim errorCallout As ContentIterator.FileProcessorErrorCallout
Me.ProcessFile(file, fileProcessor, _
errorCallout)
protected void ProcessFile(
SPFile file,
ContentIterator.FileProcessor fileProcessor,
ContentIterator.FileProcessorErrorCallout errorCallout
)
Parameters
- file
Type: Microsoft.SharePoint.SPFile
The SPFile object.
- 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.