SaveAs

SaveAs(string, FileFormat)

Saves the current object to a specified file format in a different file.

public void SaveAs(string fileName, FileFormat format)
Parameter Type Description
fileName String The name of the file to be saved.
format FileFormat The FileFormat is to be used when saving a file.

Remarks

It is used for the fast OST to PST conversion. The method doesn’t support conversion of OST created by MS Office 2013 and later versions. To convert an OST of later version, create a new PST and use the MergeWith method.

See Also


SaveAs(Stream, FileFormat)

Saves the current object to a specified file format in a stream.

public void SaveAs(Stream stream, FileFormat format)
Parameter Type Description
stream Stream The stream to be saved.
format FileFormat The FileFormat is to be used.

Remarks

It is used for the fast OST to PST conversion. The method doesn’t support conversion of OST created by MS Office 2013 and later versions. To convert an OST of later version, create a new PST and use the MergeWith method.

See Also