Click or drag to resize
Sandcastle Help File BuilderDocumentationSourceCollectionAdd Method (String, String, String, Boolean)
Add a new item to the collection

Namespace: SandcastleBuilder.Utils
Assembly: SandcastleBuilder.Utils (in SandcastleBuilder.Utils.dll) Version: 2014.11.22.0
Syntax
public DocumentationSource Add(
	string filename,
	string config,
	string platform,
	bool subFolders
)

Parameters

filename
Type: SystemString
The filename to add
config
Type: SystemString
The configuration to use for projects
platform
Type: SystemString
The platform to use for projects
subFolders
Type: SystemBoolean
True to include subfolders, false to only search the top-level folder.

Return Value

Type: DocumentationSource
The DocumentationSource added to the project or the existing item if the filename already exists in the collection.
Remarks
The DocumentationSource constructor is internal so that we control creation of the items and can associate them with the project.
See Also