[]
Saves the contents of the grid to a file.
public void Save(string fileName, GridFileFormat format, Encoding encoding, GridSaveOptions options)
Type | Name | Description |
---|---|---|
string | fileName | Name of the file to save. |
GridFileFormat | format | GridFileFormat value that specifies the format used to save the file. |
Encoding | encoding | Encoding value that specifies the encoding for the file. |
GridSaveOptions | options | GridSaveOptions value that specifies options to use when saving the file. |
Saves the contents of the grid to an UTF8-encoded file.
public void Save(string fileName, GridFileFormat format, GridSaveOptions options)
Type | Name | Description |
---|---|---|
string | fileName | Name of the file to save. |
GridFileFormat | format | GridFileFormat value that specifies the format used to save the file. |
GridSaveOptions | options | GridSaveOptions value that specifies options to use when saving the file. |
Saves the contents of the grid to an UTF8-encoded file.
public void Save(string fileName, GridFileFormat format)
Type | Name | Description |
---|---|---|
string | fileName | Name of the file to save. |
GridFileFormat | format | GridFileFormat value that specifies the format used to save the file. |
Saves the contents of the grid to an UTF8-encoded stream.
public void Save(Stream stream, GridFileFormat format)
Type | Name | Description |
---|---|---|
Stream | stream | Stream where the contents will be saved. |
GridFileFormat | format | GridFileFormat value that specifies the format used to save the file. |
The caller is responsible for closing the Stream.
Saves the contents of the grid to an UTF8-encoded stream.
public void Save(Stream stream, GridFileFormat format, GridSaveOptions options)
Type | Name | Description |
---|---|---|
Stream | stream | Stream where the contents will be saved. |
GridFileFormat | format | GridFileFormat value that specifies the format used to save the file. |
GridSaveOptions | options | GridSaveOptions value that specifies options to use when saving the file. |
The caller is responsible for closing the Stream.
Saves the contents of the grid to a stream.
public void Save(Stream stream, GridFileFormat format, Encoding encoding, GridSaveOptions options)
Type | Name | Description |
---|---|---|
Stream | stream | Stream where the contents will be saved. |
GridFileFormat | format | GridFileFormat value that specifies the format used to save the file. |
Encoding | encoding | Encoding value that specifies the encoding for the file. |
GridSaveOptions | options | GridSaveOptions value that specifies options to use when saving the file. |
The caller is responsible for closing the Stream.
Saves the contents of the grid to a StreamWriter.
public void Save(StreamWriter sw, GridFileFormat format, GridSaveOptions options)
Type | Name | Description |
---|---|---|
StreamWriter | sw | StreamWriter where the contents will be saved. |
GridFileFormat | format | GridFileFormat value that specifies the format used to save the file. |
GridSaveOptions | options | GridSaveOptions value that specifies options to use when saving the file. |