Вопрос

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