Class JobVariableCollection
- Namespace
- ArcanaDevelopment.adTempus.Client.Collections
- Assembly
- ArcanaDevelopment.adTempus.Client.dll
public sealed class JobVariableCollection : ADTObjectCollectionT<JobVariable>
- Inheritance
-
objectJobVariableCollection
Constructors
JobVariableCollection()
public JobVariableCollection()
Methods
Add(JobVariable)
Adds an item to the System.Collections.Generic.ICollection<T>.
public override void Add(JobVariable newVal)
Parameters
| Name | Type | Description |
|---|---|---|
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
| Name | Type | Description |
|---|---|---|
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
| Name | Type | Description |
|---|---|---|
index |
object |
Returns
GetVariable(string)
Gets the variable with the specified name.
public JobVariable GetVariable(string variableName)
Parameters
| Name | Type | Description |
|---|---|---|
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
| Name | Type | Description |
|---|---|---|
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
| Name | Type | Description |
|---|---|---|
index |
int | |
newVal |
JobVariable |
Remove(string)
Removes the variable with the specified name.
public bool Remove(string variableName)
Parameters
| Name | Type | Description |
|---|---|---|
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
- ADTObjectCollectionT<JobVariable>.Contains(OID)
- ADTObjectCollectionT<JobVariable>.GetAt(int)
- ADTObjectCollectionT<JobVariable>.GetObject(OID)
- ADTObjectCollectionT<JobVariable>.this[object]
- ADTObjectCollectionT<JobVariable>.GetEnumerator()
- ADTObjectCollectionT<JobVariable>.CreateCollectionReadOnlyException()
- ADTObjectCollectionT<JobVariable>.RenumberContents()
- ADTObjectCollectionT<JobVariable>.Remove(JobVariable)
- ADTObjectCollectionT<JobVariable>.RemoveByOID(OID)
- ADTObjectCollectionT<JobVariable>.RemoveAt(int)
- ADTObjectCollectionT<JobVariable>.Remove(object)
- ADTObjectCollectionT<JobVariable>.Clear()
- ADTObjectCollectionT<JobVariable>.UpdateFrom(IEnumerable<JobVariable>)
- ADTObjectCollectionT<JobVariable>.UpdateFrom(IEnumerable, bool)
- ADTObjectCollectionT<JobVariable>.ObjectAdding
- ADTObjectCollectionT<JobVariable>.ObjectRemoving
- ADTObjectCollectionT<JobVariable>.EntityAdded
- ADTObjectCollectionT<JobVariable>.EntityRemoved
- ObjectCollectionT<JobVariable>.IsReadOnly
- ObjectCollectionT<JobVariable>.Contains(JobVariable)
- ObjectCollectionT<JobVariable>.CopyTo(JobVariable[], int)
- ObjectCollectionT<JobVariable>.Count
- ObjectCollectionT<JobVariable>.this[int]
- ObjectCollectionT<JobVariable>.IndexOf(JobVariable)