
## Load (1 of 2) {#load_1}

Load PST from stream. This method is used when a PersonalStorage object is created using the constructor.

**Returns:** 'true' if the file has been loaded successfully and further traversal is possible; otherwise, false.

```cpp
Load(System::SharedPtr < System::IO::Stream > stream)
```

| Parameter | Description |
| --- | --- |
| stream | The System.IO.Stream. |

---

## Load (2 of 2) {#load_2}

Load PST from file. This method is used when a PersonalStorage object is created using the constructor.

**Returns:** 'true' if the file has been loaded successfully and further traversal is possible; otherwise, false.

```cpp
Load(System::String fileName)
```

| Parameter | Description |
| --- | --- |
| fileName | The name of .pst file. |

