Share via


Array.definitionString Method

Returns a string that contains the definition of the array.

Syntax

public str definitionString()

Run On

Called

Return Value

Type: str
A string that contains the definition of the array.

Examples

The following example creates an array of classes and then adds three query objects to the array. It uses the definitionString method to print a definition of the array.

{ 
    Array oarray = new Array (Types::Class); 
 
    oarray.value(1, new query()); 
    oarray.value(2, new query()); 
    oarray.value(4, new query());  
    print oarray.definitionString(); 
    pause; 
} 

See Also

Array Class

Array.toString Method