PersonalStorageSaveAs Method (Stream, FileFormat)

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

Namespace:  Aspose.Email.Storage.Pst
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 21.3
Syntax
public void SaveAs(
	Stream stream,
	FileFormat format
)

Parameters

stream
Type: System.IOStream
The stream to be saved.
format
Type: Aspose.Email.Storage.PstFileFormat
The FileFormat is to be used.
See Also