Partager via


ColumnFormat Interface

Represents the display properties of an order field or view field in a view.

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

Syntax

'Declaration
<CoClassAttribute(GetType(ColumnFormatClass))> _
<GuidAttribute("0006309E-0000-0000-C000-000000000046")> _
Public Interface ColumnFormat _
    Inherits _ColumnFormat
'Usage
Dim instance As ColumnFormat
[CoClassAttribute(typeof(ColumnFormatClass))]
[GuidAttribute("0006309E-0000-0000-C000-000000000046")]
public interface ColumnFormat : _ColumnFormat

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.

See Also

Reference

ColumnFormat Members

Microsoft.Office.Interop.Outlook Namespace

Other Resources

How to: Add Fields to a View