OlmFolderEnumerateMessages Method (Int32, Int32) |
Exposes the enumerator, which supports an iteration of messages in folder.
Namespace:
Aspose.Email.Storage.Olm
Assembly:
Aspose.Email (in Aspose.Email.dll) Version: 21.3
Syntaxpublic IEnumerable<OlmMessageInfo> EnumerateMessages(
int startIndex,
int count
)
Public Function EnumerateMessages (
startIndex As Integer,
count As Integer
) As IEnumerable(Of OlmMessageInfo)
public:
IEnumerable<OlmMessageInfo^>^ EnumerateMessages(
int startIndex,
int count
)
member EnumerateMessages :
startIndex : int *
count : int -> IEnumerable<OlmMessageInfo>
Parameters
- startIndex
- Type: SystemInt32
The start message index. - count
- Type: SystemInt32
The number of messages that will be retrieved.
Return Value
Type:
IEnumerableOlmMessageInfoIEnumerableT,
that represents an enumerator that iterates through a messages in folder.
Exceptions
RemarksIf "count" param is less than 0 or more than remained message count then remained message count will be returned.
See Also