User-defined fields in Business Contact Manager for Outlook cannot be created or deleted programmatically by using the Outlook Object Model UserProperties.Add() property. User-defined fields for objects in Business Contact Manager for Outlook such as Accounts, Business Contacts, Opportunities, and Business Projects can only be added by using the user interface. After the required fields are created, they can be exported to a .bcmx file as described in the Deploying Custom Fields section.
Custom fields that have been deployed (by importing a .bcmx file) or that have been created manually through the user interface can be accessed by using the UserProperties collection in the Outlook Object Model.
The following topics show how you can get the value of a custom field in an existing Business Contact, or create a new Business Contact and set the custom field value at the same time.
These examples assume that you have already created a text field named Favorite restaurant by selecting Customize forms on the Business Contact Manager menu.
See Also
Office Developer Center: Outlook 2007