Sets the pointer at the specified index to have an owning or non-owning relationship with the specified <Node>. Note that multiple ownership is not supported and this call fails if the collection already has an owning pointer to the <Node>.
int32 Set( int32 p_nIndex, int32 p_bOwns, Node p_oNode )
Parameter Type | Parameter Name | Documentation |
---|---|---|
int32 | p_nIndex | The index at which to set the <Node> pointer. |
int32 | p_bOwns | Determines whether or not the collection should own the pointer. |
<Node> | p_oNode | A pointer to the <Node>. |
None published. Please look for an example in the Scenome Scripting Language code base.