Link to home
Start Free TrialLog in
Avatar of ZURINET
ZURINET

asked on

Using String Arrays in a method..

Hi all

Given this class and the method below.

Which retrun an array InvoiceReportWithID[] of values.

I need to return the arrays (InvoiceReportWithID) as a string of arrays
then pass the array to another system whereby I will interate through the values
and used each value set for reprocessing.

That is in the destinaiton system.. I need to call a method  newSystemMethod(cus, trans, deliv, filety)

How can I achive this

Thanks in advance..

public InvoiceReportWithID[] EndGetInvoiceListWithIDs(System.IAsyncResult asyncResult) {
     object[] results = this.EndInvoke(asyncResult);
     return ((InvoiceReportWithID[])(results[0]));
     }
      

public class InvoiceReportWithID 
{ 
  public String CustomerID;  
  public String TransactionID; 
  public DateTime DeliveryDate; 
  public String FileType; 
}

Open in new window

Avatar of Bob Learned
Bob Learned
Flag of United States of America image

I don't understand what you are looking for...
ASKER CERTIFIED SOLUTION
Avatar of ZURINET
ZURINET

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ZURINET
ZURINET

ASKER

Solved the problem with another solution