[]
Saves the contents of the grid to a StreamWriter.
public void Save(StreamWriter sw, FileFormat format, SaveOptions options)
| Type | Name | Description |
|---|---|---|
| StreamWriter | sw | StreamWriter where the contents will be saved. |
| FileFormat | format | FileFormat value that specifies the format used to save the file. |
| SaveOptions | options | SaveOptions value that specifies options to use when saving the file. |
Saves the contents of the grid to a stream.
public void Save(Stream stream, FileFormat format, Encoding encoding, SaveOptions options)
| Type | Name | Description |
|---|---|---|
| Stream | stream | Stream where the contents will be saved. |
| FileFormat | format | FileFormat value that specifies the format used to save the file. |
| Encoding | encoding | Encoding value that specifies the encoding for the file. |
| SaveOptions | options | SaveOptions 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 an UTF8-encoded stream.
public void Save(Stream stream, FileFormat format, SaveOptions options)
| Type | Name | Description |
|---|---|---|
| Stream | stream | Stream where the contents will be saved. |
| FileFormat | format | FileFormat value that specifies the format used to save the file. |
| SaveOptions | options | SaveOptions 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 an UTF8-encoded stream.
public void Save(Stream stream, FileFormat format)
| Type | Name | Description |
|---|---|---|
| Stream | stream | Stream where the contents will be saved. |
| FileFormat | format | FileFormat 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 a file.
public void Save(string fileName, FileFormat format, Encoding encoding, SaveOptions options)
| Type | Name | Description |
|---|---|---|
| string | fileName | Name of the file to save. |
| FileFormat | format | FileFormat value that specifies the format used to save the file. |
| Encoding | encoding | Encoding value that specifies the encoding for the file. |
| SaveOptions | options | SaveOptions 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, FileFormat format, SaveOptions options)
| Type | Name | Description |
|---|---|---|
| string | fileName | Name of the file to save. |
| FileFormat | format | FileFormat value that specifies the format used to save the file. |
| SaveOptions | options | SaveOptions 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, FileFormat format)
| Type | Name | Description |
|---|---|---|
| string | fileName | Name of the file to save. |
| FileFormat | format | FileFormat value that specifies the format used to save the file. |