Hunny Software Library Reference

SearchResponse.Match Method 

Gets the sequence number or UID of a matching message at the specified position.

[Visual Basic]
Public Function Match( _
   ByVal index As Integer _
) As Integer
[C#]
public int Match(
   int index
);

Parameters

index
The position of the match to return.

Return Value

The message sequence number or UID of the match.

Remarks

The value of the index argument must satisfy the bounds 0 <= index < NumMatches. If the response is sent in response to a SEARCH command, then the matches are message sequence numbers. If, instead, the response is sent in response to a UID SEARCH command, then the matches are message UIDs.

See Also

SearchResponse Class | Hunny.Mail Namespace