PersonalStorageCreate Method (String, FileFormatVersion)

Creates the new PST file with the specified file name.

Namespace:  Aspose.Email.Storage.Pst
Assembly:  Aspose.Email (in Aspose.Email.dll) Version: 20.2
Syntax
public static PersonalStorage Create(
	string fileName,
	FileFormatVersion version
)

Parameters

fileName
Type: SystemString
The full name of the file.
version
Type: Aspose.Email.Storage.PstFileFormatVersion
The PST file version.

Return Value

Type: PersonalStorage
A PersonalStorage object that represents the new PST.
Exceptions
ExceptionCondition
NotImplementedException throws if ANSI file version is created
ArgumentNullException throws if file name is null or empty
Remarks
Note, only Unicode file version creation is supported now.
See Also