EnumerateMessages

EnumerateMessages(string)

公开枚举器,它支持文件夹中消息的迭代。

public IEnumerable<MessageInfo> EnumerateMessages(string entryId)
范围类型描述
entryIdString表示父文件夹条目 ID 的字符串。

返回值

IEnumerable, 表示遍历文件夹中消息的枚举器。

也可以看看


EnumerateMessages(string, int, int)

公开枚举器,它支持文件夹中消息的迭代。

public IEnumerable<MessageInfo> EnumerateMessages(string entryId, int startIndex, int count)
范围类型描述
entryIdString表示父文件夹条目 ID 的字符串。
startIndexInt32开始消息索引。
countInt32将检索的消息数。

返回值

IEnumerable, 表示遍历文件夹中消息的枚举器。

也可以看看