Xamarin.Android | ComponentOne
C1.Android.Grid Assembly / C1.Android.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 _
    ) 
    'Usage
     
    
    Dim instance As FlexGrid
    Dim stream As Stream
    Dim format As GridFileFormat
    Dim encoding As Encoding
    Dim options As GridSaveOptions
     
    instance.Save(stream, format, encoding, options)

    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