Back to Devexpress

TreeList.ExportToCsv(Stream) Method

windowsforms-devexpress-dot-xtratreelist-dot-treelist-dot-exporttocsv-x28-system-dot-io-dot-stream-x29.md

latest2.4 KB
Original Source

TreeList.ExportToCsv(Stream) Method

Exports data to the specified stream in CSV format.

Namespace : DevExpress.XtraTreeList

Assembly : DevExpress.XtraTreeList.v25.2.dll

NuGet Packages : DevExpress.Win.Navigation, DevExpress.Win.TreeList

Declaration

csharp
public virtual void ExportToCsv(
    Stream stream
)
vb
Public Overridable Sub ExportToCsv(
    stream As Stream
)

Parameters

NameTypeDescription
streamStream

A Stream object to which the created document is exported.

|

Remarks

This method indirectly calls the PrintingSystemBase.ExportToCsv method of the XtraPrinting Library. If this library is not available, the method does nothing. For details on the ExportToCsv method, see the PrintingSystemBase.ExportToCsv topic.

For general information on exporting data, refer to Export and Import Data.

See Also

ExportToPdf

ExportToRtf

ExportToText

ExportToXls

ExportToXml

Export and Import Data

TreeList Class

TreeList Members

DevExpress.XtraTreeList Namespace