/ LJCJSCodeDoc / LJCDBAccessLib / LJCDataColumn / Clone


Returns

The new cloned object.

Syntax

JavaScript
Clone()

Creates an object clone.

Example

JavaScript
// Creates an object clone.
Clone()
{
  const propertyName = "PropertyName";
  const value = "PropertyValue";
  const column = new LJCDataColumn(propertyName);
  column.Value = value;

  let clone = column.Clone();
  const result = clone.PropertyName;

  // result:
  // PropertyName
}

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