IOFile.Save Method
Definition
Saves this file to a directory with the specified name.
c#
public string Save(string directory, string name, CompressionFormat compressionFormat = CompressionFormat.MrKWatkins.OakIO.Compression.CompressionFormat);Parameters
| Name | Type | Description |
|---|---|---|
directory | String | The directory to write the file to. |
name | String | The name of the file without extension. |
compressionFormat | CompressionFormat | Optional compression format to use. |
Returns
The full path of the written file.