ComponentConfigurationDictionaryAdd(String, Boolean, String) Method

Add a new item to the dictionary

Definition

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

Parameters

id  String
The component ID
enabled  Boolean
True for enabled, false for disabled
config  String
The component configuration

Return Value

BuildComponentConfiguration
The BuildComponentConfiguration added to the project. If the ID already exists in the collection, the existing item is returned.

See Also