Table.Columns Property
Outlook Developer Reference |
Returns a Columns collection object that contains the columns defined for the Table. Read-only.
Version Information
Version Added: Outlook 2007
Syntax
expression.Columns
expression A variable that represents a Table object.
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