IOFile.Write Method
Overloads
| Name | Description |
|---|---|
Write(Stream) | Writes this file to a stream. |
Write(Stream, String, CompressionFormat) | Writes this file to a stream, optionally compressing it. |
Write(Stream)
Writes this file to a stream.
c#
public void Write(Stream stream);Parameters
| Name | Type | Description |
|---|---|---|
stream | Stream | The stream to write to. |
Write(Stream, String, CompressionFormat)
Writes this file to a stream, optionally compressing it.
c#
public void Write(Stream stream, string filename, CompressionFormat compressionFormat);Parameters
| Name | Type | Description |
|---|---|---|
stream | Stream | The stream to write to. |
filename | String | The filename of the file, with extension. Used as the name of the entry when compressionFormat is Zip. |
compressionFormat | CompressionFormat | The compression format to use. |