adTempus API
ArcanaDevelopment.adTempus.Client.Collections Namespace / JobVariableCollection Class / Add Method / Add(JobVariable,Boolean,Boolean,Boolean) Method
The variable to add. The Name must be unique if replaceExisting is false.
Determines whether any existing variable with the same Name should be replaced. If true any existing variable with the same name is replaced. If false and there is an existing variable with the same name, a ArcanaDevelopment.adTempus.Client.DuplicateItemException is thrown.
If true any recursive references will be replaced with the previous value.


In This Topic
    Add(JobVariable,Boolean,Boolean,Boolean) Method
    In This Topic
    Adds a variable to the collection or replaces the existing variable with the same Name.
    Syntax

    Parameters

    newVal
    The variable to add. The Name must be unique if replaceExisting is false.
    replaceExisting
    Determines whether any existing variable with the same Name should be replaced. If true any existing variable with the same name is replaced. If false and there is an existing variable with the same name, a ArcanaDevelopment.adTempus.Client.DuplicateItemException is thrown.
    checkOverrideRule
    resolveRecursiveReferences
    If true any recursive references will be replaced with the previous value.
    Exceptions
    ExceptionDescription
    Thrown if the collection already contains a variable with the same Name and replaceExisting if false.
    See Also