/ LJCJSCodeDoc / LJCDBAccessLib / LJCDataColumn / Copy


Parameters
objColumn - A simple object.

Returns

A data object.

Syntax

JavaScript
Copy(objColumn)

Creates a new object from simple object values.

Example

JavaScript
// Creates a new object with existing standard object values.
Copy()
{
  const simpleDataColumn = {
    "PropertyName": "PropertyName",
    "Value": "PropertyValue",
  };
  const column = LJCDataColumn.Copy(simpleDataColumn);

  const result = column.PropertyName;

  // result:
  // PropertyName
}

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