Partager via


_UserDefinedProperty.DisplayFormat Property

Returns an Integer (int in C#) value that represents the display format for the UserDefinedProperty object. Read-only.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
<DispIdAttribute()> _
ReadOnly Property DisplayFormat As Integer
    Get
'Usage
Dim instance As _UserDefinedProperty
Dim value As Integer

value = instance.DisplayFormat
[DispIdAttribute()]
int DisplayFormat { get; }

Property Value

Type: System.Int32

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

Reference

_UserDefinedProperty Interface

_UserDefinedProperty Members

Microsoft.Office.Interop.Outlook Namespace