Array.definitionString Method [AX 2012]
Returns a string that contains the definition of the array.
The following example creates an array of classes and then adds three query objects to the array. It uses the definitionString method to print a definition of the array.
{
Array oarray = new Array (Types::Class);
oarray.value(1, new query());
oarray.value(2, new query());
oarray.value(4, new query());
print oarray.definitionString();
pause;
}
Community Additions
ADD
Show: