Create
Contents
[
Hide
]Create (1 of 3)
Creates the PST in a stream.
Returns: A PersonalStorage object that represents the new PST.
Create(System::SharedPtr < System::IO::Stream > stream, FileFormatVersion version)
| Parameter | Description |
|---|---|
| stream | The stream in which PST is created. |
| version | The PST file version. |
Create (2 of 3)
Creates the PST in a stream.
Returns: A PersonalStorage object that represents the new PST.
Create(System::SharedPtr < System::IO::Stream > stream, FileFormatVersion version, bool leaveStreamOpen)
| Parameter | Description |
|---|---|
| stream | The stream in which PST is created. |
| version | The PST file version. |
| leaveStreamOpen | Leave stream open when PersonalStorage is disposed. |
Create (3 of 3)
Creates the new PST file with the specified file name.
Returns: A PersonalStorage object that represents the new PST.
Create(System::String fileName, FileFormatVersion version)
| Parameter | Description |
|---|---|
| fileName | The full name of the file. |
| version | The PST file version. |