Set.typeId Method

Returns the type of the values in the set.

Syntax

public Types typeId()

Run On

Called

Return Value

Type: Types Enumeration
The type of the values in the set.

Remarks

The type of the constituent elements is determined when the set is created.

Examples

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; 
}

See Also

Set Class

Set.new Method