ComponentOne DataGrid for WPF and Silverlight
C1.WPF.DataGrid.Excel Namespace / DataGridExtensions Class / Save Method / Save(C1DataGrid,Stream,FileFormat) Method
The datagrid.
The stream to save to.
The file format.

In This Topic
    Save(C1DataGrid,Stream,FileFormat) Method
    In This Topic
    Saves grid content to the specified stream using the specified file format.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Sub Save( _
       ByVal datagrid As C1DataGrid, _
       ByVal stream As Stream, _
       ByVal format As FileFormat _
    ) 
    public static void Save( 
       C1DataGrid datagrid,
       Stream stream,
       FileFormat format
    )

    Parameters

    datagrid
    The datagrid.
    stream
    The stream to save to.
    format
    The file format.
    See Also