EWSを使用していますが、Office365ExchangeOnlineから会話履歴フォルダーを取得したいと考えています。
ルートフォルダから子フォルダを取得してDisplayNameでフォルダを判断する方法で実現できました。
ただし、ユーザーは名前をこのフォルダーに変更できます。
この問題を解決するためにExtendedPropertyから判断するメソッドはありますか?また、別の方法はありますか?
-コードサンプル-
Folder folder = Folder.Bind(this._exchange, WellKnownFolderName.Root);
//acquire the total number of cases including the subfolder.
FolderView view = new FolderView(1);
view.Traversal = FolderTraversal.Deep;
FindFoldersResults result = folder.FindFolders(view);
//acquire All folders.
view.PageSize = result.TotalCount;
result = folder.FindFolders(view);
FindFoldersResults folders = folder.FindFolders(view);
foreach (var f in folders.Folders)
{
//I want to judge the history folder of the conversation here excluding the DisplayName property.
}
誰かが良いアイデア、サンプルを提供してください。よろしく。