Table of Contents

Class JobVariableCollection

Namespace
ArcanaDevelopment.adTempus.Client.Collections
Assembly
ArcanaDevelopment.adTempus.Client.dll
public sealed class JobVariableCollection : ADTObjectCollectionT<JobVariable>
Inheritance
object
JobVariableCollection

Constructors

JobVariableCollection()

public JobVariableCollection()

Methods

Add(JobVariable)

Adds an item to the System.Collections.Generic.ICollection<T>.

public override void Add(JobVariable newVal)

Parameters

NameTypeDescription
newVal JobVariable

Exceptions

NotSupportedException

The System.Collections.Generic.ICollection<T> is read-only.

ContainsKey(string)

Determines whether the collection contains a variable with the specified name.

public bool ContainsKey(string variableName)

Parameters

NameTypeDescription
variableName string

The name of the variable to find (case-insensitive).

Returns

bool

GetItem(object)

Gets the member with the specified OID, name, or numeric index.

public override JobVariable GetItem(object index)

Parameters

NameTypeDescription
index object

Returns

JobVariable

GetVariable(string)

Gets the variable with the specified name.

public JobVariable GetVariable(string variableName)

Parameters

NameTypeDescription
variableName string

The name of the variable to find (case-insensitive).

Returns

JobVariable

The variable with the specified name, or null if no matching variable is found.

IndexOf(string)

Gets the index of the variable with the specified name.

public int IndexOf(string variableName)

Parameters

NameTypeDescription
variableName string

The name of the variable to find (case-insensitive).

Returns

int

The index, or -1 if no matching variable is found.

Insert(int, JobVariable)

public override void Insert(int index, JobVariable newVal)

Parameters

NameTypeDescription
index int
newVal JobVariable

Remove(string)

Removes the variable with the specified name.

public bool Remove(string variableName)

Parameters

NameTypeDescription
variableName string

The name of the variable to remove (case-insensitive).

Returns

bool

True if the variable was removed, or False if no variable exists with that name.

Inherited Members