PstStore Class

The message store of an Outlook data file: its display name, its properties and its special folders.

public sealed class PstStore

Properties

NameDescription
DeletedItemsGets the Deleted Items folder, or null when the store does not specify it.
DisplayNameGets the display name of the store, the name Outlook shows for the file.
HasPasswordGets whether the file is protected by a password. Outlook asks for it, but the content of the file is not encrypted with it.
IpmSubtreeGets the top of the folder hierarchy, the parent of Inbox and the other folders Outlook shows, or null when the store does not specify it.
PropertiesGets the properties of the store.
RecordKeyGets the record key of the store, a GUID that identifies it in the entry identifiers of its objects.
RootFolderGets the root folder of the store.
SearchRootGets the root of the search folders, or null when the store does not specify it.

DeletedItems

PstStore.cs

Gets the Deleted Items folder, or null when the store does not specify it.

public PstFolder? DeletedItems { get; }

Property value

PstFolder?

DisplayName

PstStore.cs

Gets the display name of the store, the name Outlook shows for the file.

public string? DisplayName { get; }

Property value

string?

HasPassword

PstStore.cs

Gets whether the file is protected by a password. Outlook asks for it, but the content of the file is not encrypted with it.

public bool HasPassword { get; }

Property value

bool

IpmSubtree

PstStore.cs

Gets the top of the folder hierarchy, the parent of Inbox and the other folders Outlook shows, or null when the store does not specify it.

public PstFolder? IpmSubtree { get; }

Property value

PstFolder?

Properties

PstStore.cs

Gets the properties of the store.

public MapiPropertyCollection Properties { get; }

RecordKey

PstStore.cs

Gets the record key of the store, a GUID that identifies it in the entry identifiers of its objects.

public Guid? RecordKey { get; }

Property value

Guid?

RootFolder

PstStore.cs

Gets the root folder of the store.

public PstFolder RootFolder { get; }

Property value

PstFolder

SearchRoot

PstStore.cs

Gets the root of the search folders, or null when the store does not specify it.

public PstFolder? SearchRoot { get; }

Property value

PstFolder?