Share via


DictType.arraySize Method

Provides the array size for an extended data type.

Syntax

public int arraySize()

Run On

Called

Return Value

Type: int
An integer value for the array size; 1 if an extended data type does not have array elements.

Examples

In the following example, the arraySize method returns the array size for the XMLMapDimension extended data type.

    DictType dicttype; 
    int i; 
 
    dicttype = new DictType(extendedTypeNum(XMLMapDimension)); 
    for (i = 1;  i < dicttype.arraySize(); i++) 
    { 
        print dicttype.label(i); 
        pause; 
    }

See Also

DictType Class

extendedTypeNum Function