I have a user's info in the form of an ExchangeService object and need to get the Categories for each email, contact, etc as I pull a user's information in. Alas, the following gets me only strings:

... bla bla setup ExchangeServices.Contact exContact = ... ;
var cats = exContact.Categories;

But what I'd really like are full on objects of some sort, with (minimally) RGB values for the actual color. "Red", "Orange", and "DarkSteel" are just not super useful, and when there are user-defined categories it's even worse.

有帮助吗?

解决方案

You have to get list of available categories in order to get color and other category properties. We need the same methods implemented here http://www.independentsoft.de/exchangewebservices/tutorial/getcategories.html

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top