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
)
Public Shared Function Create (
fileName As String,
version As FileFormatVersion
) As PersonalStorage
public:
static PersonalStorage^ Create(
String^ fileName,
FileFormatVersion version
)
static member Create :
fileName : string *
version : FileFormatVersion -> PersonalStorage
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 Remarks Note, only Unicode file version creation is supported now.
See Also