Class PersonalStorageQueryBuilder

PersonalStorageQueryBuilder class

Represents the builder of search expression that used by pst.

public sealed class PersonalStorageQueryBuilder : MailQueryBuilder

Constructors

NameDescription
PersonalStorageQueryBuilder()Initializes a new instance of the PersonalStorageQueryBuilder class.

Properties

NameDescription
Bcc { get; }Gets the field that allows to find messages that contain the specified string in the envelope structure’s BCC field.
Body { get; }Gets the field that allows to find messages that contain the specified string in the body of the message.
Cc { get; }Gets the field that allows to find messages that contain the specified string in the envelope structure’s CC field.
ContainerClass { get; }Gets folders with an specified message class.
ContentsCount { get; }Search folders with an specified contents count.
DefaultEncoding { get; }Gets default encoding (charset) for query builder
FolderName { get; }Search folders with an specified display name.
From { get; }Gets the field that allows to find messages that contain the specified string in the envelope structure’s FROM field.
Importance { get; }Search messages with an specified importance.
InternalDate { get; }Gets the field that allows to find messages by internal date.
MessageClass { get; }Gets messages with an specified message class.
MessageId { get; }Gets the field that allows to find messages that contain the specified string in the envelope structure’s MessageId field.
MessageSize { get; }Search messages with an specified size.
OnlyFoldersCreatedByUser { get; }Gets folders that created by user, i.e. excludes all standard IPM folders.
SentDate { get; }Gets the field that allows to find messages by sent date.
Subject { get; }Gets the field that allows to find messages that contain the specified string in the envelope structure’s SUBJECT field.
Text { get; }Gets the field that allows to find the messages that contain the specified string in the headers (subject, from, to, cc) and body of the message.
To { get; }Gets the field that allows to find messages that contain the specified string in the envelope structure’s TO field.
UnreadContentsCount { get; }Search folders with an specified unread contents count.

Methods

NameDescription
FindConversationThread(MessageInfo)Finds the conversation thread.
GetQuery()Gets the query.
HasFlags(MapiMessageFlags)Search messages with the specified flags.
HasNoFlags(MapiMessageFlags)Search messages with the unspecified flags.
HasNoSubfolders()Search folders which does not contains subfolders.
HasSubfolders()Search folders which contains subfolders.
Or(MailQuery, MailQuery)Search messages that match either search key. Provides disjunction between two expressions (OR).

See Also