GetUploadedTableByName method

Syntax
UploadedTableData GetUploadedTableByName(
   string table-name);
Remarks

Gets the named Uploaded table data in this uploaded transaction. Returns null if there is no table in this transaction with the given name.

Parameters
  • table-name   Name of the table for which you want the uploaded data.

Returns

Uploaded data for the given table name or null if not found.

Example

Assume you use a method called HandleUpload for the handle_UploadData synchronization event. The following example uses the GetUploadedTableByName method to return an UploadedTableData instance for the remoteOrders table.

// The method used for the handle_UploadData event.
public void HandleUpload(UploadData ut) {
    UploadedTableData uploaded_t1 = ut.GetUploadedTableByName("remoteOrders");
    // ...
}