GetElement retrieves a specific element from the array by array index. Only valid for Array types. If a managed value such as an Object is returned, then the Value holding the reference MUST be destroyed before the runtime dies since the Object’s memory will be invalid due to heap deallocation.
Parameters |
Description |
unsigned idx |
The index of the element to retrieve. |
Value* pval |
The holder for the retrieved value. |
True if the element was retrieved, otherwise false.