[]
        
(Showing Draft Content)

C1.Win.List.ListBase.C1ListBase.ExportToDelimitedFile

ExportToDelimitedFile Method

ExportToDelimitedFile(string, RowSelectorEnum)

Exports the specified rows from the list to the specified file as delimited ASCII text.

Declaration
public void ExportToDelimitedFile(string outPath, RowSelectorEnum selector)
Parameters
Type Name Description
string outPath

Specifies the file to which list rows are exported.

RowSelectorEnum selector

Specifies an optional value that specifies the rows to be exported.

ExportToDelimitedFile(string, RowSelectorEnum, string)

Exports the specified rows from the list to the specified file as delimited ASCII text.

Declaration
public void ExportToDelimitedFile(string outPath, RowSelectorEnum selector, string delim)
Parameters
Type Name Description
string outPath

Specifies the file to which list rows are exported.

RowSelectorEnum selector

Specifies an optional value that specifies the rows to be exported.

string delim

Specifies an optional delimiter string used to separate fields.

ExportToDelimitedFile(string, RowSelectorEnum, string, string)

Exports the specified rows from the list to the specified file as delimited ASCII text.

Declaration
public void ExportToDelimitedFile(string outPath, RowSelectorEnum selector, string delim, string prefix)
Parameters
Type Name Description
string outPath

Specifies the file to which list rows are exported.

RowSelectorEnum selector

Specifies an optional value that specifies the rows to be exported.

string delim

Specifies an optional delimiter string used to separate fields.

string prefix

Specifies an optional string used with suffix to surround each value.

ExportToDelimitedFile(string, RowSelectorEnum, string, string, string)

Exports the specified rows from the list to the specified file as delimited ASCII text.

Declaration
public void ExportToDelimitedFile(string outPath, RowSelectorEnum selector, string delim, string prefix, string suffix)
Parameters
Type Name Description
string outPath

Specifies the file to which list rows are exported.

RowSelectorEnum selector

Specifies an optional value that specifies the rows to be exported.

string delim

Specifies an optional delimiter string used to separate fields.

string prefix

Specifies an optional string used with suffix to surround each value.

string suffix

Specifies an optional string used with prefix to surround each value.

ExportToDelimitedFile(string, RowSelectorEnum, string, string, string, bool)

Exports the specified rows from the list to the specified file as delimited ASCII text.

Declaration
public void ExportToDelimitedFile(string outPath, RowSelectorEnum selector, string delim, string prefix, string suffix, bool headers)
Parameters
Type Name Description
string outPath

Specifies the file to which list rows are exported.

RowSelectorEnum selector

Specifies an optional value that specifies the rows to be exported.

string delim

Specifies an optional delimiter string used to separate fields.

string prefix

Specifies an optional string used with suffix to surround each value.

string suffix

Specifies an optional string used with prefix to surround each value.

bool headers

Specifies whether the columns headers will be written to the file on the first line.