DataEngine for .NET Standard | ComponentOne
C1.DataEngine.Api Assembly / C1.DataEngine Namespace / DataList Class / Write Method
A list of items that implements the IDataList interface.
The System.IO.TextWriter to which output will be written.
One of the supported OutputFormat values. If not specified, defaults to Csv.

In This Topic
    Write Method
    In This Topic
    Outputs a list to a System.IO.TextWriter instance in one of the supported formats.
    Syntax
    'Declaration
     
    Public Shared Sub Write( _
       ByVal list As IDataList, _
       ByVal writer As TextWriter, _
       Optional ByVal format As OutputFormat _
    ) 
    public static void Write( 
       IDataList list,
       TextWriter writer,
       OutputFormat format
    )

    Parameters

    list
    A list of items that implements the IDataList interface.
    writer
    The System.IO.TextWriter to which output will be written.
    format
    One of the supported OutputFormat values. If not specified, defaults to Csv.
    See Also