PersonalStorageFromStream Method (Stream, Boolean) |
Load PST from stream.
Namespace:
Aspose.Email.Storage.Pst
Assembly:
Aspose.Email (in Aspose.Email.dll) Version: 20.2
Syntaxpublic static PersonalStorage FromStream(
Stream stream,
bool writable
)
Public Shared Function FromStream (
stream As Stream,
writable As Boolean
) As PersonalStorage
public:
static PersonalStorage^ FromStream(
Stream^ stream,
bool writable
)
static member FromStream :
stream : Stream *
writable : bool -> PersonalStorage
Parameters
- stream
- Type: System.IOStream
The System.IO.Stream.
- writable
- Type: SystemBoolean
if set to true then the the pst will support writing,
otherwise it will be opened in read-only mode.
Return Value
Type:
PersonalStorage
A PersonalStorage object that represents the current PST.
See Also