ISandcastleProjectAddFolderToProject Method
Add a new folder build item to the project
Namespace: Sandcastle.Core.ProjectAssembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2025.9.30.0
IFileItem AddFolderToProject(
string folder
)
Function AddFolderToProject (
folder As String
) As IFileItem
IFileItem^ AddFolderToProject(
String^ folder
)
abstract AddFolderToProject :
folder : string -> IFileItem
- folder String
- The folder name
IFileItemThe new
IFileItem.
If the folder does not exist in the project, it is added and created if not already there.
If the folder is already part of the project, the existing item is returned.
| ArgumentException | This is thrown if the path matches the project root path or is
not below it. |