Blazor | ComponentOne
C1.Blazor.Grid Assembly / C1.Blazor.Grid Namespace / FlexGrid Class / Save Method / Save(Stream,GridFileFormat,Encoding,GridSaveOptions) Method
System.IO.Stream where the contents will be saved.
GridFileFormat value that specifies the format used to save the file.
System.Text.Encoding value that specifies the encoding for the file.
GridSaveOptions value that specifies options to use when saving the file.

In This Topic
    Save(Stream,GridFileFormat,Encoding,GridSaveOptions) Method
    In This Topic
    Saves the contents of the grid to a stream.
    Syntax
    'Declaration
     
    
    Public Overloads Sub Save( _
       ByVal stream As Stream, _
       ByVal format As GridFileFormat, _
       ByVal encoding As Encoding, _
       ByVal options As GridSaveOptions _
    ) 

    Parameters

    stream
    System.IO.Stream where the contents will be saved.
    format
    GridFileFormat value that specifies the format used to save the file.
    encoding
    System.Text.Encoding value that specifies the encoding for the file.
    options
    GridSaveOptions value that specifies options to use when saving the file.
    Remarks
    The caller is responsible for closing the System.IO.Stream.
    See Also