Insert
Native Pascal, workflow preparation
Description
Inserts Value into an array at the zero-based Index; existing elements at or after Index shift up, and Index = Count appends. Ownership of the child transfers to the array as with Add.
Syntax
Delphi
Procedure TPLWorkflowJSON.Insert(Index: Integer; Value: TPLWorkflowJSON);Parameters
| Index | Zero-based insertion position, 0 through Count |
|---|---|
| Value | Child node to insert; must pass the same ownership checks as Add |
Remarks
Raises an exception when this value is not an array or Index is outside 0 .. Count.