如何访问Outlook联系人属性 [英] how to Access Outlook Contact Properties
问题描述
如何从Outlook Contacts访问属性。我在WPF中创建了一个简单的应用程序,它将Outlook联系人导出到.csv文件但是无法理解这些属性值在Outlook中创建的.csv文件中的位置。下面是我在Outlook的.csv文件中找到的标题名称。
how can i access the properties from Outlook Contacts.I have created an simple application in WPF which exporting the outlook contacts to .csv file but am not able to understand from where these property values are fetching in .csv file created by Outlook. below are the header name i found in .csv file from Outlook.
Notes -property
Keywords
Directory server
Location
Private
For Business Address
Business street 2
Business Street 3
simliar for Home and other address
我应该如何访问Outlook.contactItem的注释,关键字,位置,私有和位置属性,以便我可以显示由我的程序创建的.CSV文件中的值。
任何想法或建议。
how should i access the Outlook.contactItem's Note,Keywords,Location,Private and Location properties, so that i can show the value in .CSV file created by my program.
Any idea or suggestion.
推荐答案
为了从Outlook的特定联系人属性访问Notes,使用Body属性并使用优先级-Importance属性,
For accessing "Notes" from Outlook's particular contact property,used "Body" property and for priority -Importance property used,
<Private> is actually a subset of the <Sensitity> field - a numeric field with the values of
0 - Normal
1 - Personal
2 - Private
3 - Conifidential
商业街2和商业街3 值是根据businessaddressstreet属性中的\\ n定义的。
但无法找到目录服务器属性
"business street 2" and "business street 3" values are defined based on "\r\n" in "businessaddressstreet" property.
but could not figure out for Directory server property
检查下面提到的链接。
从C#.NET访问Outlook项目
http://geekswithblogs.net/TimH/archive/2006/05 /26/79720.aspx [ ^ ]
ContactItem Properties
http://msdn.microsoft.com/en-us/library/microsoft.office.interop.outlook.contactitem_properties(V = office.14)的.aspx [ ^ ]
如何使用C#从Outlook联系人访问Business Street属性 [ ^ ]
我希望这个对你有帮助。
Check below mentioned links.
Accessing Outlook items from C# .NET
http://geekswithblogs.net/TimH/archive/2006/05/26/79720.aspx[^]
ContactItem Properties
http://msdn.microsoft.com/en-us/library/microsoft.office.interop.outlook.contactitem_properties(v=office.14).aspx[^]
How to access Business Street property from Contacts of Outlook using C#[^]
I hope this will help to you.
这篇关于如何访问Outlook联系人属性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!