OlkControl.Format Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns or sets an Integer (int in C#) value that specifies how a value is to be displayed in the control. Read/write.
public:
property int Format { int get(); void set(int value); };
public int Format { get; set; }
Public Property Format As Integer
Property Value
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 ItemProperty. If the control is not bound to any property, then accessing Format will return an error.