ISandcastle ProjectAdd Folder To Project Method
Add a new folder build item to the project
Definition
Namespace: Sandcastle.Core.Project
Assembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2026.1.20.0
The new IFileItem.
Assembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2026.1.20.0
C#
IFileItem AddFolderToProject(
string folder
)VB
Function AddFolderToProject (
folder As String
) As IFileItemC++
IFileItem^ AddFolderToProject(
String^ folder
)F#
abstract AddFolderToProject :
folder : string -> IFileItem Parameters
- folder String
- The folder name
Return Value
IFileItemThe new IFileItem.
Remarks
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.
Exceptions
| ArgumentException | This is thrown if the path matches the project root path or is not below it. |