【问题标题】:WebDav: How to set Exchange 2003 appointment category?WebDav:如何设置 Exchange 2003 约会类别?
【发布时间】:2010-01-15 01:23:26
【问题描述】:

我正在使用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;

等等。我一直无法找到与类别对应的属性。

【问题讨论】:

    标签: c# outlook exchange-server webdav independentsoft


    【解决方案1】:

    我已经找到了答案。

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

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

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

    我假设您可以以相同的方式添加多个类别:

    appt.Keywords = new string[] { "CategoryName1", "CategoryName2" };
    

    【讨论】:

    • 祝福你找到这个:)。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2010-09-10
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多