OlkControl.Format Property (Outlook)

Returns or sets a Long that specifies how a value is to be displayed in the control. Read/write.

Version Information

Version Added: Outlook 2007

Syntax

expression .Format

expression A variable that represents an OlkControl object.

Remarks

The Format property can be a constant in an enumeration that describes how to display a value. For example, you can specify Format as the constant olFormatCurrencyDecimal that is defined in the OlFormatCurrency enumeration to display a currency value in an OlkTextBox control.

The Format property is specific to the property in the Outlook Object Model that the control is bound to. The latter is indicated by OlkControl.ItemProperty. If the control is not bound to any property, then accessing Format will return an error.

See Also

Concepts

OlkControl Class

OlkControl Object Members