PersonalStorageFromFile Method (String, Boolean) |
Load PST from file.
Namespace:
Aspose.Email.Storage.Pst
Assembly:
Aspose.Email (in Aspose.Email.dll) Version: 20.2
Syntaxpublic static PersonalStorage FromFile(
string fileName,
bool writable
)
Public Shared Function FromFile (
fileName As String,
writable As Boolean
) As PersonalStorage
public:
static PersonalStorage^ FromFile(
String^ fileName,
bool writable
)
static member FromFile :
fileName : string *
writable : bool -> PersonalStorage
Parameters
- fileName
- Type: SystemString
Name of .pst file. - writable
- Type: SystemBoolean
if set to true then the the pst file will support writing,
otherwise it will be opened in read-only mode.
Return Value
Type:
PersonalStorageA PersonalStorage object that represents the current PST.
See Also