GetContents

GetContents (1 of 6)

Get collection of messages.

Returns: Collection of MessageInfo .

GetContents()

GetContents (2 of 6)

Get collection of messages.

Returns: Collection of MessageInfo .

GetContents(bool tryToReadCorruptedContents)
ParameterDescription
tryToReadCorruptedContentsIf the value of this parameter is true, the method will try to read the content even if the file is corrupted. This value can be used if the GetContents() method throws an exception about the file corruption. If the value of this parameter is false, the method works in the same way as GetContents() method without parameters.

GetContents (3 of 6)

Gets the collection of messages.

Returns: Collection of MessageInfo .

GetContents(int32_t startIndex, int32_t count)
ParameterDescription
startIndexThe start message index.
countThe number of messages that will be retrieved.

GetContents (4 of 6)

Get collection of messages.

Returns: Collection of MessageInfo .

GetContents(MessageKind kind)
ParameterDescription
kindThe message kind.

GetContents (5 of 6)

Get collection of messages.

Returns: Collection of MessageInfo .

GetContents(System::SharedPtr < Tools::Search::MailQuery > query)
ParameterDescription
queryMailQuery that represents search query.

GetContents (6 of 6)

Gets the collection of messages.

Returns: Collection of MessageInfo .

GetContents(System::SharedPtr < Tools::Search::MailQuery > query, int32_t startIndex, int32_t count)
ParameterDescription
queryMailQuery that represents search query.
startIndexThe start message index.
countThe number of messages that will be retrieved.