Modifica

Condividi tramite


_Table Interface

Definition

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.

public interface class _Table
[System.Runtime.InteropServices.Guid("000630D2-0000-0000-C000-000000000046")]
public interface _Table
Public Interface _Table
Derived
Attributes

Properties

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 (bool in C#) 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.

Methods

FindNextRow()

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

FindRow(String)

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

GetArray(Int32)

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(String)

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

Sort(String, Object)

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.

Applies to