c# - WebDav: How to set Exchange 2003 appointment category? -


i using independentsoft's webdav api create calendar appointment. set category of appointment.

in outlook, set category indicated here: outlook image http://www.freeimagehosting.net/uploads/b51648a90c.gif

how assign category using webdav api?

most other fields properties of appointment object:

appointment appt = new appointment(); appt.body = "body"; appt.meetingstatus = meetingstatus.tentative; 

and on. have not been able find property corresponds category.

i have discovered answer this.

the property keywords. it's string array.

so, set category, this:

appt.keywords = new string[] { "categoryname" }; 

i assume can add multiple categories in same way:

appt.keywords = new string[] { "categoryname1", "categoryname2" }; 

Comments

Popular posts from this blog

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

c++ - Convert big endian to little endian when reading from a binary file -

openssl - Load PKCS#8 binary key into Ruby -