Jaa


Array.definitionString Method

Definition

Returns a string that contains the definition of the array.

public:
 System::String ^ definitionString();
public string definitionString ();
member this.definitionString : unit -> string
Public Function definitionString () As String

Returns

A string that contains the definition of the array.

Remarks

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

Applies to