TopicCollectionAddTopicsFromFolder Method
Add all topics from the specified folder recursively to the collection and to the given project file
Namespace: SandcastleBuilder.Utils.ConceptualContentAssembly: SandcastleBuilder.Utils (in SandcastleBuilder.Utils.dll) Version: 2024.9.12.0
public void AddTopicsFromFolder(
string folder,
string basePath,
SandcastleProject project
)
Public Sub AddTopicsFromFolder (
folder As String,
basePath As String,
project As SandcastleProject
)
public:
void AddTopicsFromFolder(
String^ folder,
String^ basePath,
SandcastleProject^ project
)
member AddTopicsFromFolder :
folder : string *
basePath : string *
project : SandcastleProject -> 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 SandcastleProject
- The project to which the files are added
Only actual conceptual content topic files are added. They must have a ".aml" 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.