Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
为了能够获取对话中的所有电子邮件,以便按顺序获取电子邮件,并以与gmail显示相同的方式显示它们。已经感谢您的聆听。我试过这个
Iseen = box.Search(SearchQuery.NotSeen); UniqueIdRange idRange = Iseen as UniqueIdRange;
但是 UniqueIdRange 是私有的,不知道如何获取它。
box.Search() 通常会返回 a UniqueIdSet,而不是UniqueIdRange。
UniqueIdSet
UniqueIdRange
事实上,我认为它永远不会返回UniqueIdRange.