Set.definitionString Method [AX 2012]
Returns a description of the type of the elements in the set.
The following example creates a set of integers. The definitionString method is used to print a description of the set.
{
// Declare a set of integers
Set is = new Set (Types::Integer);
;
// Add some integers to the set
print is.add(1);
print is.add(2);
print is.add(1);
// Print a description of the set
print is.definitionString();
// Print a description of the set elements
print is.toString();
pause;
}
Community Additions
ADD
Show: