編輯

共用方式為


_Table.Columns Property

Definition

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

public:
 property Microsoft::Office::Interop::Outlook::Columns ^ Columns { Microsoft::Office::Interop::Outlook::Columns ^ get(); };
public Microsoft.Office.Interop.Outlook.Columns Columns { get; }
Public ReadOnly Property Columns As Columns

Property Value

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 Add(String). To remove the default column set, use RemoveAll(). For more information on adjusting columns of a Table, see Adding Columns to a Table Object

Applies to