Share via


_Table.Columns Property

Returns a Columns collection object that contains the columns defined for the Table. Read-only.

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

Syntax

'Declaration
ReadOnly Property Columns As Columns
    Get
'Usage
Dim instance As _Table
Dim value As Columns

value = instance.Columns
Columns Columns { get; }

Property Value

Type: Microsoft.Office.Interop.Outlook.Columns

Remarks

The Columns collection object is the default member of the Table object.

While rows in a Table correspond to items in the parent Folder or Search object of the Table, Columns in a Table correspond to the properties of these items. Default columns are defined for all folders depending on the parent folder of the Table object. For example, the default properties for the Inbox are: EntryID, Subject, CreationTime, LastModificationTime, and MessageClass. For more information on default properties for a Table, see Default Properties Displayed in a Table Object.

To add Column objects to the Columns collection of a Table, use _Columns.Add. To remove the default column set, use _Columns.RemoveAll. For more information on adjusting columns of a Table, see Adding Columns to a Table Object.

See Also

Reference

_Table Interface

_Table Members

Microsoft.Office.Interop.Outlook Namespace