Xamarin.Forms | ComponentOne
C1.Xamarin.Forms.Grid Assembly / C1.Xamarin.Forms.Grid Namespace / FlexGrid Class / Save Method / Save(String,GridFileFormat,Encoding,GridSaveOptions) Method
Name of the file to save.
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(String,GridFileFormat,Encoding,GridSaveOptions) Method
    In This Topic
    Saves the contents of the grid to a file.
    Syntax
    'Declaration
     
    
    Public Overloads Sub Save( _
       ByVal fileName As String, _
       ByVal format As GridFileFormat, _
       ByVal encoding As Encoding, _
       ByVal options As GridSaveOptions _
    ) 
    'Usage
     
    
    Dim instance As FlexGrid
    Dim fileName As String
    Dim format As GridFileFormat
    Dim encoding As Encoding
    Dim options As GridSaveOptions
     
    instance.Save(fileName, format, encoding, options)

    Parameters

    fileName
    Name of the file to save.
    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.
    See Also