Adds a set of files into the project, below a specified project folder.
Namespace: Sdl.ProjectAutomation.CoreAssembly: Sdl.ProjectAutomation.Core (in Sdl.ProjectAutomation.Core.dll) Version: 1.0.0.0 (1.2.3064.0)
Syntax
C# |
---|
ProjectFile[] AddFiles( string[] filePaths, string folderPathInProject ) |
Visual Basic |
---|
Function AddFiles ( _ filePaths As String(), _ folderPathInProject As String _ ) As ProjectFile() |
Visual C++ |
---|
array<ProjectFile^>^ AddFiles( array<String^>^ filePaths, String^ folderPathInProject ) |
Parameters
- filePaths
- Type: array<System..::..String>[]()[][]
The paths of the files to add. These should be absolute paths.
- folderPathInProject
- Type: System..::..String
The folder in this project below which the files should be added. If empty the files will be in the project root folder.
Return Value
The added filesRemarks
When adding files to a project, these files are copied into the project folder; they are not referenced in their original location.