MapiAttachment.Save

Save(string)

Saves the content of the attachment to a file. An embedded message is saved in MSG format.

public void Save(string filename)
ParameterTypeDescription
filenameStringThe path of the file to write.

Exceptions

exceptioncondition
ArgumentNullExceptionfilename is null.

See Also


Save(Stream)

Saves the content of the attachment to a stream. An embedded message is saved in MSG format.

public void Save(Stream stream)
ParameterTypeDescription
streamStreamThe stream to write to.

See Also