TocEntryCollectionAddTopicsFromFolder Method
Add all topics from the specified folder recursively to the collection and to the given project file
Namespace: Sandcastle.Core.ConceptualContentAssembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2025.9.30.0
public void AddTopicsFromFolder(
string folder,
string basePath,
ISandcastleProject project
)
Public Sub AddTopicsFromFolder (
folder As String,
basePath As String,
project As ISandcastleProject
)
public:
void AddTopicsFromFolder(
String^ folder,
String^ basePath,
ISandcastleProject^ project
)
member AddTopicsFromFolder :
folder : string *
basePath : string *
project : ISandcastleProject -> unit
Parameters
- folder String
- The folder from which to get the files
- basePath String
- The base path to remove from files copied from another folder into the project
folder. On the first call, this should match the folder value.
- project ISandcastleProject
- The project to which the files are added
Only actual HTML and markdown content topic files are added. They must have a ".htm?" or
"*.md" extension. Folders will be added as sub-topics recursively. If a file with the same name as
the folder exists, it will be associated with the container node. If no such file exists, an empty
container node is created.