【问题标题】:Set Job Title in a Google Contact在 Google 联系人中设置职位
【发布时间】:2014-08-23 23:15:12
【问题描述】:

在我要添加和更新多个 Google 联系人的程序中,我需要设置联系人的 Job Title 字段(在 Gmail 中的 Google 业务模板下可用)。我尝试了几件事 - 设置 Title 属性、创建扩展属性、设置 Occupation 字段等等。

//Didn't even show up when I checked the contact on Gmail
contact.ExtendedProperties.Add(new ExtendedProperty(splitter[1], "Job Title"));
//Caused other problems; also didn't work
contact.Title = splitter[1];

我想我可能需要

  1. 设置联系人模板
  2. 不知何故在那里设置了联系人的职位。

我检查了documentation 并一次又一次地运行它,并在 Google 上进行了几次搜索,但尚未出现答案。

【问题讨论】:

    标签: c# gdata


    【解决方案1】:

    我相信它在 googlecontact->organizations 下。这为您提供了组织列表。每个组织都有一个 Title 属性(以及许多其他属性),这正是您要寻找的。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-02-26
      相关资源
      最近更新 更多