Creates a duplicate of the current record for the specified component control.
Syntax
public PCComponentControlRootComponent duplicateRootComponentTree(RefRecId _duplicatedComponentControl)
Run On
Called
Parameters
- _duplicatedComponentControl
Type: RefRecId Extended Data Type
The ID of the component control that was duplicated.
Return Value
Type: PCComponentControlRootComponent Table
The duplicated record of the PCComponentControlRootComponent table.
Exceptions
| Exception | Condition |
|---|---|
| Error | The duplicated component cannot be found. |