Parameters
index - The index value.
Returns
The item at the supplied index.
Syntax
| JavaScript |
|
RetrieveAtIndex(index)
|
Retrieves the object at the supplied index.
Example
| JavaScript |
// Retrieves the object at the supplied index.
RetrieveAtIndex()
{
const joinOns = new LJCJoinOns();
let joinOn = joinOns.Add("fromColumnName1", "toColumnName1");
joinOn = joinOns.Add("fromColumnName2", "toColumnName2");
joinOn = joinOns.RetrieveAtIndex(1);
const result = joinOn.FromColumnName;
// result:
// fromColumnName2
}
|
Copyright © Lester J. Clark and Contributors.
Licensed under the MIT License.