다음을 통해 공유


ContentIterator.ProcessFilesInFolder Method (SPList, SPFolder, Boolean, ContentIterator.FileProcessor, ContentIterator.FileProcessorErrorCallout)

Iterates over items in a folder.

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

Syntax

'Declaration
Public Sub ProcessFilesInFolder ( _
    list As SPList, _
    folder As SPFolder, _
    fRecursive As Boolean, _
    fileProcessor As ContentIterator.FileProcessor, _
    errorCallout As ContentIterator.FileProcessorErrorCallout _
)
'Usage
Dim instance As ContentIterator
Dim list As SPList
Dim folder As SPFolder
Dim fRecursive As Boolean
Dim fileProcessor As ContentIterator.FileProcessor
Dim errorCallout As ContentIterator.FileProcessorErrorCallout

instance.ProcessFilesInFolder(list, folder, _
    fRecursive, fileProcessor, errorCallout)
public void ProcessFilesInFolder(
    SPList list,
    SPFolder folder,
    bool fRecursive,
    ContentIterator.FileProcessor fileProcessor,
    ContentIterator.FileProcessorErrorCallout errorCallout
)

Parameters

  • fRecursive
    Type: System.Boolean
    If true, iterate over all items in all subfolders.

See Also

Reference

ContentIterator Class

ContentIterator Members

ProcessFilesInFolder Overload

Microsoft.Office.Server.Utilities Namespace