The scenario is this: have an app which exports to Outlook and then have an Outlook add in which sends data to your app. It is easy enough to send info either way and then in Outlook to create an Outlook item with a user property or in the app to create the item using EWS and use the extended properties.
The way to set the extended property is as follows:
extendedPropertyDefinition = new ExtendedPropertyDefinition(DefaultExtendedPropertySet.PublicStrings, "CustomProperty", MapiPropertyType.String);
contact.SetExtendedProperty(extendedPropertyDefinition, customPropertyValue);
So how do you access the extended properties set by your app (using EWS) in the Outlook add in?