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
Syntaxpublic static PersonalStorage Create(
Stream stream,
FileFormatVersion version
)
Public Shared Function Create (
stream As Stream,
version As FileFormatVersion
) As PersonalStorage
public:
static PersonalStorage^ Create(
Stream^ stream,
FileFormatVersion version
)
static member Create :
stream : Stream *
version : FileFormatVersion -> PersonalStorage
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
RemarksNote, only Unicode file version creation is supported now.
See Also