共用方式為


Table Members (Outlook)

Represents a set of item data from a Folder or Search object, with items as rows of the table and properties as columns of the table.

Methods

Name

Description

FindNextRow

Finds the next row in the Table that meets the criteria specified in a preceding Table.FindRow.

FindRow

Finds the first row in the Table that meets the criteria specified in Filter.

GetArray

Obtains a two-dimensional array that contains a set of row and column values from the Table.

GetNextRow

Moves the current row to the next row in the Table and obtains that row in the Table.

GetRowCount

Obtains the number of rows in the Table.

MoveToStart

Moves the current row of the Table to just before the first row of the Table.

Restrict

Applies a filter to the rows in the Table and obtains a new Table object.

Sort

Sorts the rows of the Table by the property specified in SortProperty and resets the current row to just before the first row in the Table.

Properties

Name

Description

Application

Returns an Application object that represents the parent application (Outlook) for the Table object. Read-only.

Class

Returns a constant in the OlObjectClass enumeration indicating the class of the Table object. Read-only.

Columns

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

EndOfTable

Returns a Boolean that indicates whether the current row is positioned after the last row in the Table object. Read-only.

Parent

Returns the parent object of the Table object. Read-only.

Session

Returns the NameSpace object for the current session. Read-only.