This documentation is archived and is not being maintained.
Set.typeId Method [AX 2012]
Returns the type of the values in the set.
The type of the constituent elements is determined when the set is created.
The following example instantiates a new set with the same type as an existing set.
{
Set set1 = new Set(Types::Integer);
Set set2;
;
set2 = new Set(set1.typeId());
print set2.typeId();
pause;
}