Array.definitionString Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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;
}