DisplayName Property

See Also         Example         Applies To

For Attachment object:

Returns or sets the name, which need not be the actual file name, displayed below the icon representing the embedded attachment. This property corresponds to the MAPI property PR_DISPLAY_NAME.

For FormDescription object:

Returns or sets the name of the form, whish is what will be displayed in the Choose Forms dialog box. If both FormDescription.Name and FormDescription.DisplayName properties are empty, setting one will set the other. If one has been previously set, setting the other will not change the value.

Read/write String.

Syntax

object.DisplayName

object    Required. An expression that returns an Attachment or FormDescription object.