Xceed Grid for WinForms v4.3 Documentation
Export(DetailGrid,Stream,Boolean) Method


Xceed.Grid.v4.3 Assembly > Xceed.Grid.Exporting Namespace > ExcelExporter Class > Export Method : Export(DetailGrid,Stream,Boolean) Method
A reference to a Xceed.Grid.DetailGrid. Cannot be a null reference (Nothing in Visual Basic)
The System.IO.Stream to which to export the grid. Cannot be a null reference (Nothing in Visual Basic).
true if the output stream is to be closed once the process is finished; false otherwise.
Exports the data of a Xceed.Grid.DetailGrid in XML to a stream and specifying if the output stream should be closed once the process is finished.
Syntax
'Declaration
 
Public Overloads Sub Export( _

   ByVal detailGrid As DetailGrid, _

   ByVal stream As Stream, _

   ByVal closeOutputStream As Boolean _

) 
'Usage
 
Dim instance As ExcelExporter

Dim detailGrid As DetailGrid

Dim stream As Stream

Dim closeOutputStream As Boolean

 

instance.Export(detailGrid, stream, closeOutputStream)
public void Export( 

   DetailGrid detailGrid,

   Stream stream,

   bool closeOutputStream

)

Parameters

detailGrid
A reference to a Xceed.Grid.DetailGrid. Cannot be a null reference (Nothing in Visual Basic)
stream
The System.IO.Stream to which to export the grid. Cannot be a null reference (Nothing in Visual Basic).
closeOutputStream
true if the output stream is to be closed once the process is finished; false otherwise.
Requirements

Target Platforms: 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

ExcelExporter Class
ExcelExporter Members
Overload List