Creates criterion to find messages with specified Gmail label (X-GM-LABELS). This method can be used only if server advertises XGMailExtensions1 extension support.

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

Syntax

C#
public static ICriterion GmailLabel(
	string label
)
Visual Basic
Public Shared Function GmailLabel ( _
	label As String _
) As ICriterion
Visual C++
public:
static ICriterion^ GmailLabel(
	String^ label
)

Parameters

label
Type: System..::..String
Gmail's label (e.g. @"\Inbox", "Important", "mylabel").

Return Value

New expression.

See Also