Partager via


ContentIterator.ProcessFilesInFolder - Méthode (SPList, SPFolder, Boolean, ContentIterator.FileProcessor, ContentIterator.FileProcessorErrorCallout)

Parcourt les éléments d'un dossier.

Espace de noms :  Microsoft.Office.Server.Utilities
Assembly :  Microsoft.Office.Server (dans Microsoft.Office.Server.dll)

Syntaxe

'Déclaration
Public Sub ProcessFilesInFolder ( _
    list As SPList, _
    folder As SPFolder, _
    fRecursive As Boolean, _
    fileProcessor As ContentIterator.FileProcessor, _
    errorCallout As ContentIterator.FileProcessorErrorCallout _
)
'Utilisation
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
)

Paramètres

  • fRecursive
    Type : System.Boolean

    Si true, itérer sur tous les éléments dans tous les sous-dossiers.

Voir aussi

Référence

ContentIterator classe

ContentIterator - Membres

ProcessFilesInFolder - Surcharge

Microsoft.Office.Server.Utilities - Espace de noms