PersonalStorage.Load
Contents
[
Hide
]Load(string)
Load PST from file. This method is used when a PersonalStorage object is created using the constructor.
public bool Load(string fileName)
| Parameter | Type | Description |
|---|---|---|
| fileName | String | The name of .pst file. |
Return Value
’true’ if the file has been loaded successfully and further traversal is possible; otherwise, false.
Exceptions
| exception | condition |
|---|---|
| ArgumentNullException | fileName - File name can not be null or empty |
See Also
- class PersonalStorage
- namespace Aspose.Email.Storage.Pst
- assembly Aspose.Email
Load(Stream)
Load PST from stream. This method is used when a PersonalStorage object is created using the constructor.
public bool Load(Stream stream)
| Parameter | Type | Description |
|---|---|---|
| stream | Stream | The System.IO.Stream. |
Return Value
’true’ if the file has been loaded successfully and further traversal is possible; otherwise, false.
See Also
- class PersonalStorage
- namespace Aspose.Email.Storage.Pst
- assembly Aspose.Email