Forum Discussion

kepsam's avatar
kepsam
New Contributor
13 years ago

Indexing multi-dim arrays returned from .NET assembly

* TestComplete and JScript

* Using the CLR Bridge to call .NET assembly

* Make a call the the .NET assembly and get returned an Object of Class System.Int32[,]

* Attachment showing the object structure



How do I index through this multi-dimensional array to find the values? Can you provide an example?

It doesn't seem to be as straight forward as standard JScript.
  • Use the method Get

    int Get(int Param1, int Param2);


    In the example it would be result.Get(0,0); to find the first index










  • kepsam's avatar
    kepsam
    New Contributor
    Use the method Get

    int Get(int Param1, int Param2);


    In the example it would be result.Get(0,0); to find the first index