Jaa


Mapi.findNext Method

Definition

Overloads

findNext()

Finds the first or next message in the message store.

findNext(String)
findNext(String, String)
findNext(String, String, Int32)

findNext()

Finds the first or next message in the message store.

public:
 virtual System::String ^ findNext();
public virtual string findNext ();
abstract member findNext : unit -> string
override this.findNext : unit -> string
Public Overridable Function findNext () As String

Returns

The message ID of the message that is found; an empty string if no message is found.

Remarks

Call this method to find the first message, and then issue subsequent calls to obtain the following messages. Use the status method to check for Mapi errors after you call this method.

Applies to

findNext(String)

public:
 virtual System::String ^ findNext(System::String ^ text1);
public virtual string findNext (string text1);
abstract member findNext : string -> string
override this.findNext : string -> string
Public Overridable Function findNext (text1 As String) As String

Parameters

text1
String

Returns

Applies to

findNext(String, String)

public:
 virtual System::String ^ findNext(System::String ^ text1, System::String ^ text2);
public virtual string findNext (string text1, string text2);
abstract member findNext : string * string -> string
override this.findNext : string * string -> string
Public Overridable Function findNext (text1 As String, text2 As String) As String

Parameters

text1
String
text2
String

Returns

Applies to

findNext(String, String, Int32)

public:
 virtual System::String ^ findNext(System::String ^ _messageType, System::String ^ _seedMessageID, int _flags);
public virtual string findNext (string _messageType, string _seedMessageID, int _flags);
abstract member findNext : string * string * int -> string
override this.findNext : string * string * int -> string
Public Overridable Function findNext (_messageType As String, _seedMessageID As String, _flags As Integer) As String

Parameters

_messageType
String

Flags that indicate first in, first out (FIFO) or unread; optional. This parameter has two possible values:

_seedMessageID
String

Flags that indicate first in, first out (FIFO) or unread; optional. This parameter has two possible values:

_flags
Int32

Flags that indicate first in, first out (FIFO) or unread; optional. This parameter has two possible values:

Returns

Applies to