Creates criterion to find messages that have specified flag set.

Namespace: Limilabs.Client.IMAP
Assembly: Mail (in Mail.dll) Version: 3.0.12102.1426

Syntax

C#
public static ICriterion HasFlag(
	Flag flag
)
Visual Basic
Public Shared Function HasFlag ( _
	flag As Flag _
) As ICriterion
Visual C++
public:
static ICriterion^ HasFlag(
	Flag^ flag
)

Parameters

flag
Type: Limilabs.Client.IMAP..::..Flag
Flag that should be set.

Return Value

New expression.

Remarks

Exchange 2007 and 2010 do not support custom flags (keywords).

See Also