• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Edit
Show / Hide Table of Contents

DumpResult helper method

Some tooltip text!
• Less than 1 minute to read
 • Less than 1 minute to read
using SuperOffice;
using SuperOffice.CRM.Services;
using SuperOffice.CRM.ArchiveLists;

private void DumpResult( ArchiveColumnInfo[] columns, ArchiveListItem[] rows )
  {
    Array.ForEach( columns, delegate( ArchiveColumnInfo column ) { Console.Write( column.ToString() ); } );
    Console.WriteLine();
    Array.ForEach( rows, delegate( ArchiveListItem row )
    {
      foreach(KeyValuePair data in row.ColumnData)
      {
        Console.Write( ( data.Value != null ? data.Value.DisplayValue : "-" ) + "\t" );
      }
      Console.WriteLine();
    } );
    Console.WriteLine();
  }
In This Article
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top