Click here to Skip to main content
15,886,067 members
Please Sign up or sign in to vote.
3.67/5 (2 votes)
See more:
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


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.
Posted
Updated 25-Jul-13 22:14pm
v2

For accessing "Notes" from Outlook's particular contact property,used "Body" property and for priority -Importance property used,

XML
<Private> is actually a subset of the <Sensitity> field - a numeric field with the values of

0 - Normal
1 - Personal
2 - Private
3 - Conifidential


"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
 
Share this answer
 
v5
 
Share this answer
 
Comments
keerth516 27-Jul-13 14:43pm    
hi sampath,could you please let me know how can i access the "Notes" from a particular Outlook Contact which is same as Notes's value generated in .CSV file by Outlook.Any suggestion and idea to achieve...? and for other properties like Keywords,Private,Location,Directory server also
keerth516 27-Jul-13 14:44pm    
I couldn't access the above mentioned properties only.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900