SandcastleProjectAddFolderToProject Method
Add a new folder build item to the project
Namespace: SandcastleBuilder.UtilsAssembly: SandcastleBuilder.Utils (in SandcastleBuilder.Utils.dll) Version: 2024.9.12.0
public FileItem AddFolderToProject(
string folder
)
Public Function AddFolderToProject (
folder As String
) As FileItem
public:
FileItem^ AddFolderToProject(
String^ folder
)
member AddFolderToProject :
folder : string -> FileItem
- folder String
- The folder name
FileItemThe new
FileItem.
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. |