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

Namespace: SandcastleBuilder.Utils.BuildComponent
Assembly: SandcastleBuilder.Utils (in SandcastleBuilder.Utils.dll) Version: 2014.11.22.0
Syntax
public BuildComponentConfiguration Add(
	string id,
	bool enabled,
	string config
)

Parameters

id
Type: SystemString
The component ID
enabled
Type: SystemBoolean
True for enabled, false disabled
config
Type: SystemString
The component configuration

Return Value

Type: BuildComponentConfiguration
The BuildComponentConfiguration added to the project. If the ID already exists in the collection, the existing item is returned.
Remarks
The BuildComponentConfiguration constructor is internal so that we control creation of the items and can associate them with the project.
See Also