ParentDisplayName Property

Gets a String value representing the parent display name of a Business Contact, Opportunity, Business Project, or Project Task. The attribute for this value is read-only.

expression**.ItemProperties["ParentDisplayName"].Value**

expression   A variable that represents a Business Contact, Opportunity, Business Project, or Project Task object.

Remarks

You can link an Opportunity with a Business Contact and set the display name to any name that you want.

To print the ParentDisplayName property value by using C#:

  1. Exit the application that created the object.
  2. Reload the object in a separate application and print the value.

To print the ParentDisplayName property value by using VBA:

  1. Close the object.
  2. Reload the object in the same application and print the value.

The Outlook UserProperty type is olText.

See Also

2007 Office System: Updated Developer Content