共用方式為


_Table Members

Include Protected Members
Include Inherited Members

This is a primary interface in a COM coclass that is required by managed code for interoperability with the corresponding COM object. Use this primary interface only when the method you want to use shares the same name as an event of the COM object; in this case, cast to this interface to call the method, and cast to the latest events interface to connect to the event. Otherwise, use the .NET interface that is derived from the COM coclass to access methods, properties, and events of the COM object. For information about the COM object, see Table.

The _Table type exposes the following members.

Properties

  Name Description
Public property Application Returns an Application object that represents the parent application (Outlook) for the Table object. Read-only.
Public property Class Returns a constant in the OlObjectClass enumeration indicating the class of the Table object. Read-only.
Public property Columns Returns a Columns collection object that contains the columns defined for the Table. Read-only.
Public property EndOfTable Returns a Boolean (bool in C#) that indicates whether the current row is positioned after the last row in the Table object. Read-only.
Public property Parent Returns the parent Object of the Table object. Read-only.
Public property Session Returns the NameSpace object for the current session. Read-only.

Top

Methods

  Name Description
Public method FindNextRow Finds the next row in the Table that meets the criteria specified in a preceding _Table.FindRow.
Public method FindRow Finds the first row in the Table that meets the criteria specified in Filter.
Public method GetArray Obtains a two-dimensional array that contains a set of row and column values from the Table.
Public method GetNextRow Moves the current row to the next row in the Table and obtains that row in the Table.
Public method GetRowCount Obtains the number of rows in the Table.
Public method MoveToStart Moves the current row of the Table to just before the first row of the Table.
Public method Restrict Applies a filter to the rows in the Table and obtains a new Table object.
Public method 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.

Top

See Also

Reference

_Table Interface

Microsoft.Office.Interop.Outlook Namespace