[]
Outputs a list to a TextWriter instance in one of the supported formats.
public static void Write(IDataList list, TextWriter writer, OutputFormat format = OutputFormat.Csv)
Type | Name | Description |
---|---|---|
IDataList | list | A list of items that implements the IDataList interface. |
TextWriter | writer | The TextWriter to which output will be written. |
OutputFormat | format | One of the supported OutputFormat values. If not specified, defaults to Csv. |