PersonalStorageCreate Method (Stream, FileFormatVersion)

Creates the PST in a stream.

Namespace:  Aspose.Email.Storage.Pst
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 20.2
Syntax
public static PersonalStorage Create(
	Stream stream,
	FileFormatVersion version
)

Parameters

stream
Type: System.IOStream
The stream in which PST is created.
version
Type: Aspose.Email.Storage.PstFileFormatVersion
The PST file version.

Return Value

Type: PersonalStorage
A PersonalStorage object that represents the new PST.
Exceptions
ExceptionCondition
NotImplementedException throws if ANSI file version is created
ArgumentNullException throws if stream is null
Remarks
Note, only Unicode file version creation is supported now.
See Also