Click or drag to resize
UpdateConfigActionAddCommand Method (String, String, String, String, String)
Adds a command to update a config file while sparing you the details of the Manager's required syntax. If you want to omit one of the command's sections, provide a null value to this method. The command index will be incremented even if you supply a null for all parameters, though the action will be unaffected.

Namespace: AsterNET.Manager.Action
Assembly: AsterNET (in AsterNET.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public void AddCommand(
	string action,
	string category,
	string variable,
	string value,
	string match
)

Parameters

action
Type: SystemString
Action to Take (NewCat,RenameCat,DelCat,Update,Delete,Append)
category
Type: SystemString
Category to operate on
variable
Type: SystemString
Variable to work on
value
Type: SystemString
Value to work on
match
Type: SystemString
Extra match required to match line
See Also