Topic CollectionAdd Topics From Folder Method
Add all topics from the specified folder recursively to the collection and to the given project file
Definition
Namespace: Sandcastle.Core.ConceptualContent
Assembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2026.1.20.0
Assembly: Sandcastle.Core (in Sandcastle.Core.dll) Version: 2026.1.20.0
C#
public void AddTopicsFromFolder(
string folder,
string basePath,
ISandcastleProject project
)VB
Public Sub AddTopicsFromFolder (
folder As String,
basePath As String,
project As ISandcastleProject
)C++
public:
void AddTopicsFromFolder(
String^ folder,
String^ basePath,
ISandcastleProject^ project
)F#
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
Remarks
Only actual conceptual content topic files are added. They must have a ".aml" or ".md"
extension and must be one of the valid document types. 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.