| DocumentationSourceCollectionAdd Method (String, String, String, Boolean) |
Add a new item to the collection
Namespace: SandcastleBuilder.UtilsAssembly: SandcastleBuilder.Utils (in SandcastleBuilder.Utils.dll) Version: 2014.11.22.0
Syntax public DocumentationSource Add(
string filename,
string config,
string platform,
bool subFolders
)
Public Function Add (
filename As String,
config As String,
platform As String,
subFolders As Boolean
) As DocumentationSource
public:
DocumentationSource^ Add(
String^ filename,
String^ config,
String^ platform,
bool subFolders
)
member Add :
filename : string *
config : string *
platform : string *
subFolders : bool -> DocumentationSource
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:
DocumentationSourceThe
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