d20838ae 143c f924 fcb9 f6395dc716d7 - akesseler/Plexdata.CsvParser GitHub Wiki
This method tries to save given values into given stream.
Namespace: Plexdata.CsvParser.Processors
Assembly: Plexdata.CsvParser.NET (in Plexdata.CsvParser.NET.dll) Version: 1.1.3+d5bef99aa35461ce4bafadf0bf2c2aeca18044ea
C#
public static void Save(
IEnumerable<TInstance> values,
Stream stream
)
- values
- Type: System.Collections.Generic.IEnumerable(TInstance)
The list of values to be written into given stream. - stream
- Type: System.IO.Stream
The stream to write given values into.
Exception | Condition |
---|---|
ArgumentException | This exception is thrown either in case of given values are invalid or if given stream does not allow write access. |
ArgumentNullException | This exception is thrown if given stream is . |
InvalidOperationException | This exception is thrown in case of property parsing fails. |
NotSupportedException | This exception is thrown in case of confirming and ordering the column offsets fails. |
This method performes saving of data with default settings. Using default settings means that the header is written. Further, needed header information is taken from the column attributes or from property names. Finally, a special textual treatment is not applied.
CsvExporter(TInstance) Class
Save Overload
Plexdata.CsvParser.Processors Namespace