| IProjectAddFolderWithFiles Method (String, Boolean) |
Adds all the files from a folder into the project, in the root folder
Namespace: Sdl.ProjectAutomation.CoreAssembly: Sdl.ProjectAutomation.Core (in Sdl.ProjectAutomation.Core.dll) Version: 3.0.0.0 (3.1.5799.0)
SyntaxProjectFile[] AddFolderWithFiles(
string localFolderPath,
bool recursive
)
Function AddFolderWithFiles (
localFolderPath As String,
recursive As Boolean
) As ProjectFile()
array<ProjectFile^>^ AddFolderWithFiles(
String^ localFolderPath,
bool recursive
)
abstract AddFolderWithFiles :
localFolderPath : string *
recursive : bool -> ProjectFile[]
Parameters
- localFolderPath
- Type: SystemString
The absolute path of the folder containing the files to add. - recursive
- Type: SystemBoolean
If true, files in sub folders will also be added. The relative folder structure is preserved in the project.
Return Value
Type:
ProjectFileThe added project files.
RemarksWhen adding files to a project, these files are copied into the project folder; they are not referenced in their original location.
See Also
Comments