Removes specified flag from the message.

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

Syntax

C#
public List<Flag> UnflagMessageByUID(
	long uid,
	Flag flag
)
Visual Basic
Public Function UnflagMessageByUID ( _
	uid As Long, _
	flag As Flag _
) As List(Of Flag)
Visual C++
public:
List<Flag^>^ UnflagMessageByUID(
	long long uid, 
	Flag^ flag
)

Parameters

uid
Type: System..::..Int64
Unique-id of the message to remove flag from.
flag
Type: Limilabs.Client.IMAP..::..Flag
Flag to be removed. For specifying system flags you can use static fields e.g. Seen.

Return Value

List containing flags of the specified message after the change.

See Also