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