| 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.ActionAssembly: 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
)
Public Sub AddCommand (
action As String,
category As String,
variable As String,
value As String,
match As String
)
public:
void AddCommand(
String^ action,
String^ category,
String^ variable,
String^ value,
String^ match
)
member AddCommand :
action : string *
category : string *
variable : string *
value : string *
match : string -> unit
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