Set Data Member Function

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>.

Prototype

int32 Set( int32 p_nIndex, int32 p_bOwns, Node p_oNode )

Parameters

Parameter Type Parameter Name Documentation
int32p_nIndexThe index at which to set the <Node> pointer.
int32p_bOwnsDetermines whether or not the collection should own the pointer.
<Node>p_oNodeA pointer to the <Node>.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.