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