/ LJCJSCodeDoc / LJCDBAccessLib / LJCDataColumns / RetrieveAtIndex


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 columns = new LJCDataColumns();
  let column = columns.Add("Name");
  column = columns.Add("Sequence");

  column = columns.RetrieveAtIndex(1);
  const result = column.PropertyName;

  // result:
  // Sequence
}

Copyright © Lester J. Clark and Contributors.
Licensed under the MIT License.