| ComponentConfigurationDictionaryAdd Method (String, Boolean, String) |
Add a new item to the dictionary
Namespace: SandcastleBuilder.Utils.BuildComponentAssembly: SandcastleBuilder.Utils (in SandcastleBuilder.Utils.dll) Version: 2014.11.22.0
Syntax public BuildComponentConfiguration Add(
string id,
bool enabled,
string config
)
Public Function Add (
id As String,
enabled As Boolean,
config As String
) As BuildComponentConfiguration
public:
BuildComponentConfiguration^ Add(
String^ id,
bool enabled,
String^ config
)
member Add :
id : string *
enabled : bool *
config : string -> BuildComponentConfiguration
Parameters
- id
- Type: SystemString
The component ID - enabled
- Type: SystemBoolean
True for enabled, false disabled - config
- Type: SystemString
The component configuration
Return Value
Type:
BuildComponentConfigurationThe
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