_Table.FindNextRow Method

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

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

Syntax

'Declaration
<DispIdAttribute()> _
Function FindNextRow As Row
'Usage
Dim instance As _Table
Dim returnValue As Row

returnValue = instance.FindNextRow()
[DispIdAttribute()]
Row FindNextRow()

Return Value

Type: Microsoft.Office.Interop.Outlook.Row
A Row object that represents the next row in the Table that meets the filter condition in the preceding call to FindRow. Returns Nothing (a null reference (Nothing in Visual Basic) in C#) if FindNextRow cannot find another row that meets the criteria specified in FindRow. Also returns Nothing (a null reference (Nothing in Visual Basic) in C#) if FindRow has not been called before FindNextRow.

Remarks

FindNextRow finds the next row based on the row returned by the preceding FindRow or FindNextRow. It does not depend on the current row (as the current row may have been repositioned since the preceding FindRow or FindNextRow, for example, by _Table.MoveToStart).

If FindNextRow finds a row, it will position the current row to that row. If it does not find another row, it will not not reposition the current row.

See Also

Reference

_Table Interface

_Table Members

Microsoft.Office.Interop.Outlook Namespace