Column Interface

Represents a column of data in a Table object.

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

Syntax

'Declaration
<GuidAttribute("000630E5-0000-0000-C000-000000000046")> _
<CoClassAttribute(GetType(ColumnClass))> _
Public Interface Column _
    Inherits _Column
'Usage
Dim instance As Column
[GuidAttribute("000630E5-0000-0000-C000-000000000046")]
[CoClassAttribute(typeof(ColumnClass))]
public interface Column : _Column

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 _Column.

A Table is composed of rows and columns. It represents a read-only dynamic rowset of data in a Folder or Search object. You can regard each row of a Table as an item in the folder, each column as a property of the item. By default, a Table contains only a subset of properties for items in the folder. This makes the Table an in-memory lightweight rowset that allows fast enumeration and filtering of items in the folder.

To obtain the value of a property (column) for a specific item (row) in a Table, you can either use the _Table.GetArray method and index into the returned array, or use the _Row.Itemproperty (this in C#), specifying the Name of the column.

See Also

Reference

Column Members

Microsoft.Office.Interop.Outlook Namespace

Other Resources

How to: Enumerate Items in the Inbox Based on the Last Modification Time

How to: Filter and Display Multivalued Properties When Enumerating Items in a Folder