ParentDisplayName Property
Outlook Developer Reference |
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.
Syntax
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#:
- Exit the application that created the object.
- Reload the object in a separate application and print the value.
To print the ParentDisplayName property value by using VBA:
- Close the object.
- Reload the object in the same application and print the value.
The Outlook UserProperty type is olText.