GetContents
Contents
[
Hide
]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)
| Parameter | Description |
|---|---|
| tryToReadCorruptedContents | If 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)
| Parameter | Description |
|---|---|
| startIndex | The start message index. |
| count | The number of messages that will be retrieved. |
GetContents (4 of 6)
Get collection of messages.
Returns: Collection of MessageInfo .
GetContents(MessageKind kind)
| Parameter | Description |
|---|---|
| kind | The message kind. |
GetContents (5 of 6)
Get collection of messages.
Returns: Collection of MessageInfo .
GetContents(System::SharedPtr < Tools::Search::MailQuery > query)
| Parameter | Description |
|---|---|
| query | MailQuery 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)
| Parameter | Description |
|---|---|
| query | MailQuery that represents search query. |
| startIndex | The start message index. |
| count | The number of messages that will be retrieved. |