_Items.FindNext Method

After the Find method runs, this method finds and returns the next Outlook item in the specified collection.

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

Syntax

'Declaration
<DispIdAttribute()> _
Function FindNext As Object
'Usage
Dim instance As _Items
Dim returnValue As Object

returnValue = instance.FindNext()
[DispIdAttribute()]
Object FindNext()

Return Value

Type: System.Object
An Object value that represents the next Outlook item found in the collection.

Remarks

The search operation begins from the current position, which matches the expression previously set through the Find method.

The method returns an Outlook item object if the call succeeds; it returns Nothing (a null reference (Nothing in Visual Basic) in C#) if it fails.

See Also

Reference

_Items Interface

_Items Members

Microsoft.Office.Interop.Outlook Namespace

Other Resources

How to: Filter Recurring Appointments and Search for a String in the Subject