Share via


DictField.arraySize Method

Definition

Returns the array size for the field (in other words, the array size of the underlying 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

The array size for the field; 1 if the field is not an array.

Remarks

The following example shows the retrieval of the array size for a field.

DictField df; 
Types     t; 
df = new DictField(tablenum(CustTable), fieldnum(CustTable, AccountNum));  
if (df) 
{ 
    print strfmt("The arraySize is %1.", df.arraySize()); 
}

Applies to