Parameters
propertyName - The property name.
Returns
The matching object index.
Syntax
| JavaScript |
|
GetIndex(propertyName)
|
Gets the index of the object which matches the data values.
Example
| JavaScript |
// Gets the index of the object which matches the data values.
GetIndex()
{
const columns = new LJCDataColumns();
let column = columns.Add("Name");
column = columns.Add("Sequence");
const result = columns.GetIndex("Name");
// result:
// 0
}
|
Copyright © Lester J. Clark and Contributors.
Licensed under the MIT License.