Click here to Skip to main content
11,438,782 members (77,876 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# Outlook
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 25-Jul-13 23:13pm
keerth5161.5K
Edited 25-Jul-13 23:14pm
v2
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

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

"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
  Permalink  
v5
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

  Permalink  
Comments
keerth516 at 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 at 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)



Advertise | Privacy | Mobile
Web03 | 2.8.150506.1 | Last Updated 29 Jul 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100