Share via


DictType.extend Method

Provides the ID for the extended data type that an extended data type extends.

Syntax

public ExtendedTypeId extend()

Run On

Called

Return Value

Type: ExtendedTypeId Extended Data Type
The ID for the extended data type than an extended data type extends; 0 (zero) if the extended data type does not extend an extended data type.

Examples

In the following example, the extend method returns the ID for the extended data type that the ABCPercentA extended data type extends.

    DictType dicttype; 
 
    dicttype = new DictType(extendedTypeNum(ABCPercentA)); 
    print dicttype.name() + " extends: " + extendedTypeId2Name(dicttype.extend());

See Also

Reference

DictType Class