UserDefinedProperty.DisplayFormat property (Outlook)

Returns a Long value that represents the display format for the UserDefinedProperty object. Read-only.

Syntax

expression.DisplayFormat

expression A variable that represents a UserDefinedProperty object.

Remarks

The value of this property is a constant from an enumeration, where the enumeration is dependent on the value of the Type property for the UserDefinedProperty object:

Type value DisplayFormat enumeration
olCombination No enumeration available. This property always returns 1 for olCombination.
olCurrency OlFormatCurrency
olDateTime OlFormatDateTime
olDuration OlFormatDuration
olEnumeration OlFormatEnumeration
olFormula No enumeration available. This property always returns 1 for olFormula.
olInteger OlFormatInteger
olKeywords OlFormatKeywords
olNumber OlFormatNumber
olOutlookInternal No enumeration available. This property always returns 1 for olOutlookInternal.
olPercent OlFormatPercent
olSmartFrom OlFormatSmartFrom
olText OlFormatText
olYesNo OlFormatYesNo

See also

UserDefinedProperty Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.