ColumnFormat Interface
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.
Represents the display properties of an order field or view field in a view.
public interface class ColumnFormat : Microsoft::Office::Interop::Outlook::_ColumnFormat
[System.Runtime.InteropServices.Guid("0006309E-0000-0000-C000-000000000046")]
public interface ColumnFormat : Microsoft.Office.Interop.Outlook._ColumnFormat
Public Interface ColumnFormat
Implements _ColumnFormat
- Derived
- Attributes
- Implements
Remarks
This is a .NET interface derived from a COM coclass that is required by managed code for interoperability with the corresponding COM object. Use this derived interface to access all method, property, and event members of the COM object. However, if a method or event you want to use shares the same name under the same COM object, cast to the corresponding primary interface to call the method, and cast to the latest events interface to connect to the event. Refer to this topic for information about the COM object. For information about the method and property members of the COM object, see _ColumnFormat.
The ColumnFormat object represents the display properties, such as the alignment or field type, of an OrderField or ViewField object. Use the ColumnFormat property of the ViewField object to access the display properties of a view field.
Use the Label property to obtain or change the text used to label the field, or the Align property to determine the alignment of the contents within the field.
Use the FieldType property to determine the type and form of the data displayed for that field, and the FieldFormat property to determine how to format the data for that field.
Properties
Align |
Returns or sets an OlAlign constant that indicates the alignment of the column label for the property to which the ColumnFormat object is associated. Read/write. (Inherited from _ColumnFormat) |
Application |
Returns an Application object that represents the parent Outlook application for the object. Read-only. (Inherited from _ColumnFormat) |
Class |
Returns an OlObjectClass constant indicating the object's class. Read-only. (Inherited from _ColumnFormat) |
FieldFormat |
Returns or sets an Integer (int in C#) value that represents the display format of the property to which the ColumnFormat object is associated. Read/write. (Inherited from _ColumnFormat) |
FieldType |
Returns an OlUserPropertyType constant which represents the field type of the property to which the ColumnFormat object is associated. Read-only. (Inherited from _ColumnFormat) |
Label |
Returns or sets a String (string in C#) value that represents the column label and tooltip displayed for the property to which the ColumnFormat object is associated. Read/write. (Inherited from _ColumnFormat) |
Parent |
Returns the parent Object of the specified object. Read-only. (Inherited from _ColumnFormat) |
Session |
Returns the NameSpace object for the current session. Read-only. (Inherited from _ColumnFormat) |
Width |
Returns or sets an Integer (int in C#) value indicating the approximate width (in characters) of the column. Read/write. (Inherited from _ColumnFormat) |