Link to home
Create AccountLog 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
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of ZURINET
ZURINET

ASKER

Solved the problem with another solution