Modifies the flags of a message with the specified unique ID.

Namespace:  Rebex.Net
Assembly:  Rebex.Imap (in Rebex.Imap.dll)

Syntax

Visual Basic
Public Sub SetMessageFlags ( _
	uniqueId As String, _
	action As ImapFlagAction, _
	flags As ImapMessageFlags, _
	ParamArray keywords As String() _
)
C#
public void SetMessageFlags(
	string uniqueId,
	ImapFlagAction action,
	ImapMessageFlags flags,
	params string[] keywords
)

Parameters

uniqueId
Type: System..::..String
Message unique ID.
action
Type: Rebex.Net..::..ImapFlagAction
The action to take.
flags
Type: Rebex.Net..::..ImapMessageFlags
Flags to add, remove or set.
keywords
Type: array<System..::..String>[]()[][]
Keywords to add, remove or set.

Remarks

This method represents IMAP STORE command.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also