MapiNote.Save

Save(Stream, NoteSaveFormat)

Saves this MapiNote to the given stream using specified format.

public void Save(Stream stream, NoteSaveFormat saveFormat)
ParameterTypeDescription
streamStreamA stream to save to.
saveFormatNoteSaveFormatA save format.

Exceptions

exceptioncondition
ArgumentNullExceptionstream is null.
NotSupportedExceptionstream does not support writing.
NotSupportedExceptionThe 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)
ParameterTypeDescription
filePathStringA file name.
saveFormatNoteSaveFormatA save format.

Exceptions

exceptioncondition
ArgumentExceptionfilePath is null or empty.
NotSupportedExceptionsome save option is not supported

See Also