Share via


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)

Syntax

'Declaration
Public Sub AddFolder ( _
    inputFolder As SPFolder, _
    outputFolder As SPFolder, _
    recursion As Boolean _
)
'Usage
Dim instance As ConversionJob
Dim inputFolder As SPFolder
Dim outputFolder As SPFolder
Dim recursion As Boolean

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

Parameters

  • recursion
    Type: System.Boolean

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

    Note

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

See Also

Reference

ConversionJob Class

ConversionJob Members

Microsoft.Office.Word.Server.Conversions Namespace