ConversionJob.AddFolder method

Converts the files in the specified input folder by using the conversion settings for the job, and places the results in the specified output folder location.

Namespace:  Microsoft.Office.Word.Server.Conversions
Assembly:  Microsoft.Office.Word.Server (in Microsoft.Office.Word.Server.dll)


Public Sub AddFolder ( _
    inputFolder As SPFolder, _
    outputFolder As SPFolder, _
    recursion As Boolean _
Dim instance As ConversionJob
Dim inputFolder As SPFolder
Dim outputFolder As SPFolder
Dim recursion As Boolean

instance.AddFolder(inputFolder, outputFolder, _
public void AddFolder(
    SPFolder inputFolder,
    SPFolder outputFolder,
    bool recursion


  • recursion
    Type: System.Boolean

    true to indicate that files in the subfolders of the specified input folder should also be converted; otherwise, false.


    If this flag is used, the directory structure is automatically recreated within the output folder.

See also


ConversionJob class

ConversionJob members

Microsoft.Office.Word.Server.Conversions namespace