PstWriterOptions Class

The options of PstWriter.

public sealed class PstWriterOptions

Constructors

NameDescription
PstWriterOptions()

PstWriterOptions()

PstWriterOptions.cs
public PstWriterOptions()

No documentation is available.

Properties

NameDescription
CodePageGets or sets the code page of the strings of an ANSI file. The default is 1252 (Western European).
DisplayNameGets or sets the display name of the store, the name Outlook shows for the file. The default is "Personal Folders".
EncryptionGets or sets how the data blocks are obfuscated. The default is PstEncryption.Permute, the default of Outlook.
FormatGets or sets the format of the file. The default is PstFormat.Unicode, the format of Outlook 2003 and later. A PstFormat.Unicode4K file is an offline file (OST), which Outlook does not open as a data file.
NowGets or sets the date and time the writer uses for the creation and modification dates of the items that do not set them. The writer uses the current date when it is null.
RootFolderNameGets or sets the display name of the top of the folder hierarchy. The default is "Top of Personal Folders".
StoreIdGets or sets the identifier of the store, the record key that the entry identifiers of its objects contain. The writer generates one when it is null; set it to write the same file from the same content.

Gets or sets the code page of the strings of an ANSI file. The default is 1252 (Western European).

public int CodePage { get; set; }

Property value

int

Gets or sets the display name of the store, the name Outlook shows for the file. The default is "Personal Folders".

public string DisplayName { get; set; }

Property value

string

Gets or sets how the data blocks are obfuscated. The default is PstEncryption.Permute, the default of Outlook.

public PstEncryption Encryption { get; set; }

Property value

PstEncryption

Gets or sets the format of the file. The default is PstFormat.Unicode, the format of Outlook 2003 and later. A PstFormat.Unicode4K file is an offline file (OST), which Outlook does not open as a data file.

public PstFormat Format { get; set; }

Property value

PstFormat

Gets or sets the date and time the writer uses for the creation and modification dates of the items that do not set them. The writer uses the current date when it is null.

public DateTime? Now { get; set; }

Property value

DateTime?

RootFolderName

PstWriterOptions.cs

Gets or sets the display name of the top of the folder hierarchy. The default is "Top of Personal Folders".

public string RootFolderName { get; set; }

Property value

string

Gets or sets the identifier of the store, the record key that the entry identifiers of its objects contain. The writer generates one when it is null; set it to write the same file from the same content.

public Guid? StoreId { get; set; }

Property value

Guid?