Partilhar via


DictType.Extend Method

Definition

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

public:
 virtual int Extend();
public virtual int Extend ();
abstract member Extend : unit -> int
override this.Extend : unit -> int
Public Overridable Function Extend () As Integer

Returns

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.

Remarks

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());

Applies to