| ImapSearchNumbers Method (ICriterion) |
Namespace:
Limilabs.Client.IMAP
Assembly:
Mail (in Mail.dll) Version: 3.0.23341.1754
Syntax public List<long> SearchNumbers(
ICriterion criterion
)
Public Function SearchNumbers (
criterion As ICriterion
) As List(Of Long)
public:
List<long long>^ SearchNumbers(
ICriterion^ criterion
)
member SearchNumbers :
criterion : ICriterion -> List<int64>
Parameters
- criterion
- Type: Limilabs.Client.IMAPICriterion
Search criteria. Use And(ICriterion) to join several criterions
Return Value
Type:
ListInt64List of message numbers sorted from oldest to newest.
Examples
List<long> uids = imap.SearchNumber(Expression.And(Expression.Subject("report"), Expression.HasFlag(Flag.Unseen)));
See Also