Deriving by Union

You can derive an element or simple type by union to define it as a collection of built-in and simple data types.

  1. Open the property sheet of an element or simple type, and select Union in the Derivation list.

    For elements, the Embedded type field is set to Simple.

  2. Click the Properties tool to the right of the Derivation box to open the union property sheet:

  3. Enter an ID and member types for the union.
  4. [optional] Click the Union Types tab and add appropriate simple types to the union.
  5. Click OK to close the union property sheet and return to the element or simple type.


Created October 7, 2009. Send feedback on this help topic to Sybase Technical Publications: pubs@sybase.com