_Table.EndOfTable Property

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

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
<DispIdAttribute()> _
ReadOnly Property EndOfTable As Boolean
    Get
'Usage
Dim instance As _Table
Dim value As Boolean

value = instance.EndOfTable
[DispIdAttribute()]
bool EndOfTable { get; }

Property Value

Type: System.Boolean

Remarks

When you open a Table using MAPIFolder.GetTable, Search.GetTable, or _Table.Restrict, the value of EndOfTable depends on the number of rows in the Table. If there are no rows, EndOfTable returns True. If there are rows, EndOfTable returns False until the cursor moves beyond the last row in the Table.

The Table has two virtual Null rows, one before the first row and one after the last row in the Table. Each call to _Table.GetNextRow moves the current row to the next row in the Table and returns a Row object that represents the current row.

The EndOfTable property returns True if the current row is after the last row and False if the current row is on or before the last row.

See Also

Reference

_Table Interface

_Table Members

Microsoft.Office.Interop.Outlook Namespace

Other Resources

How to: Get and Display Items in a Conversation

How to: Enumerate Items in the Inbox Based on the Last Modification Time

How to: Filter and Display Inbox Items Modified in the Last Month

How to: Filter and Display Multivalued Properties When Enumerating Items in a Folder

How to: Enumerate Hidden Items in a Folder

How to: Search for a Phrase in the Body of Items in a Folder

How to: Display the Task Request Items Sent to a Recipient

How to: Enumerate Items in a Table View