Click or drag to resize
Sandcastle Help File BuilderSandcastleProjectAddFolderToProject Method
Add a new folder build item to the project

Namespace: SandcastleBuilder.Utils
Assembly: SandcastleBuilder.Utils (in SandcastleBuilder.Utils.dll) Version: 2014.11.22.0
Syntax
public FileItem AddFolderToProject(
	string folder
)

Parameters

folder
Type: SystemString
The folder name

Return Value

Type: FileItem
The new FileItem.
Exceptions
ExceptionCondition
ArgumentExceptionThis is thrown if the path matches the project root path or is not below it.
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.
See Also