The only way to do this would be to link your original line features to the raster by a common identifier with Add Join or Join Field and copy your results over.
If you have a raster with the IDs and your values are gone, you can use the Zonal Statistics or Combine function on the raster side to get your IDs and derived values in the same table so you can do the join.