DictType.Arraysize Method

Definition

Provides the array size for an extended data type.

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

Returns

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

Remarks

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

Applies to