ComponentOne List for WinForms
C1.Win.C1List Namespace / DropDownList Class / ExportToDelimitedFile Method / ExportToDelimitedFile(String,RowSelectorEnum,String,String,String,Boolean) Method
Specifies the file to which list rows are exported.
Specifies an optional value that specifies the rows to be exported.
Specifies an optional delimiter string used to separate fields.
Specifies an optional string used with suffix to surround each value.
Specifies an optional string used with prefix to surround each value.
Specifies whether the columns headers will be written to the file on the first line.

In This Topic
    ExportToDelimitedFile(String,RowSelectorEnum,String,String,String,Boolean) Method
    In This Topic
    Exports the specified rows from the list to the specified file as delimited ASCII text.
    Syntax
    'Declaration
     
    
    Public Overloads Sub ExportToDelimitedFile( _
       ByVal outPath As String, _
       ByVal selector As RowSelectorEnum, _
       ByVal delim As String, _
       ByVal prefix As String, _
       ByVal suffix As String, _
       ByVal headers As Boolean _
    ) 
    public void ExportToDelimitedFile( 
       string outPath,
       RowSelectorEnum selector,
       string delim,
       string prefix,
       string suffix,
       bool headers
    )

    Parameters

    outPath
    Specifies the file to which list rows are exported.
    selector
    Specifies an optional value that specifies the rows to be exported.
    delim
    Specifies an optional delimiter string used to separate fields.
    prefix
    Specifies an optional string used with suffix to surround each value.
    suffix
    Specifies an optional string used with prefix to surround each value.
    headers
    Specifies whether the columns headers will be written to the file on the first line.
    See Also