Save(Stream, NoteSaveFormat)
Saves the note to a stream in the specified format. Only MSG is supported.
public void Save(Stream stream, NoteSaveFormat saveFormat)
| Parameter | Type | Description |
|---|
| stream | Stream | The stream to write to. |
| saveFormat | NoteSaveFormat | The format. |
Exceptions
| exception | condition |
|---|
| ArgumentNullException | stream is null. |
| NotSupportedException | stream does not support writing. |
| NotSupportedException | The specified format is not supported. |
See Also
Save(string, NoteSaveFormat)
Saves the note to a file in the specified format. Only MSG is supported.
public void Save(string filePath, NoteSaveFormat saveFormat)
| Parameter | Type | Description |
|---|
| filePath | String | The path of the file to write. |
| saveFormat | NoteSaveFormat | The format. |
Exceptions
| exception | condition |
|---|
| ArgumentException | filePath is null or empty. |
| NotSupportedException | saveFormat is not supported. |
See Also
Save(string)
Saves this MapiNote to the given file.
public void Save(string filePath)
| Parameter | Type | Description |
|---|
| filePath | String | A file name. |
Exceptions
| exception | condition |
|---|
| ArgumentException | filePath is null or empty. |
See Also
Save(Stream)
Saves this MapiNote to the given stream.
public void Save(Stream stream)
| Parameter | Type | Description |
|---|
| stream | Stream | A stream to save to. |
Exceptions
| exception | condition |
|---|
| ArgumentNullException | stream is null. |
| NotSupportedException | stream does not support writing. |
See Also