MapiNote.Save
Save(Stream, NoteSaveFormat)
Saves this MapiNote
to the given stream using specified format.
public void Save(Stream stream, NoteSaveFormat saveFormat)
Parameter | Type | Description |
---|
stream | Stream | A stream to save to. |
saveFormat | NoteSaveFormat | A save 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 this MapiNote
into file using specified format.
public void Save(string filePath, NoteSaveFormat saveFormat)
Parameter | Type | Description |
---|
filePath | String | A file name. |
saveFormat | NoteSaveFormat | A save format. |
Exceptions
exception | condition |
---|
ArgumentException | filePath is null or empty . |
NotSupportedException | some save option is not supported |
See Also