FolderInfoGetContents Method (Int32, Int32) |
Gets the collection of messages.
Namespace:
Aspose.Email.Storage.Pst
Assembly:
Aspose.Email (in Aspose.Email.dll) Version: 20.2
Syntax public MessageInfoCollection GetContents(
int startIndex,
int count
)
Public Function GetContents (
startIndex As Integer,
count As Integer
) As MessageInfoCollection
public:
MessageInfoCollection^ GetContents(
int startIndex,
int count
)
member GetContents :
startIndex : int *
count : int -> MessageInfoCollection
Parameters
- startIndex
- Type: SystemInt32
The start message index. - count
- Type: SystemInt32
The number of messages that will be retrieved.
Return Value
Type:
MessageInfoCollectionCollection of MessageInfo.
Exceptions Remarks If "count" param is less than 0 or more than remained message count then remained message count will be returned.
See Also