Set.typeId Method

Definition

Returns the type of the values in the set.

public:
 Microsoft::Dynamics::Ax::Xpp::Types typeId();
public Microsoft.Dynamics.Ax.Xpp.Types typeId ();
member this.typeId : unit -> Microsoft.Dynamics.Ax.Xpp.Types
Public Function typeId () As Types

Returns

The type of the values in the set.

Remarks

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

Applies to