Remove

Native Pascal, workflow preparation

Description

Removes and frees the child at the zero-based Index. An out-of-range index returns False and leaves the container unchanged; to remove a child without freeing it, use Detach.

Syntax

Delphi

Function TPLWorkflowJSON.Remove(Index: Integer): Boolean;

Parameters

IndexZero-based child index

Return values

TrueA child was removed and freed
FalseIndex is outside 0 .. Count-1; nothing changed

See also

WorkflowDataTools, ProbeWorkflowRequest