C# code for Outlook Folder Dialog box with check boxes to select contact folders
I C# I need a dialog开发者_运维百科 box that will allow a user to select certain folders. Ideally I would like a dialog box that will show only the contact folders and allow the user to select a certain subset of them.
See MSDN:
Outlook.Folder folder = Application.Session.PickFolder();
You also could get all folder recursively and build your own form to pick subset (and use any filtration you want and add ability to add new one).
精彩评论