WebDav:如何设置Exchange 2003约会类别?

时间:2010-01-15 01:23:26

标签: c# outlook exchange-server webdav independentsoft

我正在使用Independentsoft's WebDav API创建日历约会。我想设置约会的类别。

在Outlook中,我会按照此处的说明设置类别: Outlook image http://www.freeimagehosting.net/uploads/b51648a90c.gif

如何使用WebDav API分配类别?

大多数其他字段只是约会对象的属性:

Appointment appt = new Appointment();
appt.Body = "body";
appt.MeetingStatus = MeetingStatus.Tentative;

等等。我找不到与类别对应的属性。

1 个答案:

答案 0 :(得分:3)

我已经找到了答案。

该属性是关键字。这是一个字符串数组。

因此,要设置类别,您可以这样做:

appt.Keywords = new string[] { "CategoryName" };

我假设你可以用同样的方式添加多个类别:

appt.Keywords = new string[] { "CategoryName1", "CategoryName2" };
相关问题