Xceed DataGrid for WPF v7.2 Documentation
ExportToCsv(Stream) Method


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace > DataGridControl Class > ExportToCsv Method : ExportToCsv(Stream) Method
The stream to which to export the content of the grid.
Exports the content of the grid in a CSV (comma-separated value) format to the specified stream.
Syntax
'Declaration
 
Public Overloads Sub ExportToCsv( _
   ByVal stream As Stream _
) 
'Usage
 
Dim instance As DataGridControl
Dim stream As Stream
 
instance.ExportToCsv(stream)
public void ExportToCsv( 
   Stream stream
)

Parameters

stream
The stream to which to export the content of the grid.
Requirements

Target Platforms: Windows 11, Windows, 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DataGridControl Class
DataGridControl Members
Overload List