SetMember
Native Pascal, workflow preparation
Description
On an object, sets the member MemberName to Value: an existing member with that name has its value replaced, and a missing name is appended as a new member. Assigning the node that is already stored under the name changes nothing.
Syntax
Delphi
Procedure TPLWorkflowJSON.SetMember(Const MemberName: WideString; Value: TPLWorkflowJSON);Parameters
| MemberName | Member name to set |
|---|---|
| Value | New value for the member; must not be Nil, must not already be owned by another container, and must not create an ownership cycle |
Remarks
Raises an exception when this value is not an object. On replacement the previous value is freed, so keep no references to it outside the tree.