【问题标题】:EWS - How to know contact fields extended property id?EWS - 如何知道联系人字段扩展属性 ID?
【发布时间】:2012-05-06 13:04:54
【问题描述】:

我必须使用 EWS 为某些 Outlook 联系人字段添加值。我已经设法使用“用户字段 1”来做到这一点 this article .问题是我需要在其他字段中插入值(例如“杂项字段”中的“帐户”),并且我需要知道这些属性的 ID。 这是我用来创建属性的代码,我需要设置第二个参数:

Guid myGuid = new Guid("{00062004-0000-0000-C000-000000000046}");
ExtendedPropertyDefinition myDef = new ExtendedPropertyDefinition(myGuid, 0x804F, MapiPropertyType.String);

【问题讨论】:

    标签: c# exchangewebservices extended-properties


    【解决方案1】:

    你很接近,PropertyId 值在same MSDN article you referenced 上。

    AccountPropertyId 0x3A00

    MFCMAPI 也是您查找属性名称或 ID 时的朋友。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2012-05-16
      • 2015-06-28
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-04-08
      • 1970-01-01
      相关资源
      最近更新 更多