Modifies the flags of a message with the specified sequence number.

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

Syntax

Visual Basic
Public Sub SetMessageFlags ( _
	sequenceNumber As Integer, _
	action As ImapFlagAction, _
	flags As ImapMessageFlags _
)
C#
public void SetMessageFlags(
	int sequenceNumber,
	ImapFlagAction action,
	ImapMessageFlags flags
)

Parameters

sequenceNumber
Type: System..::..Int32
Message sequence number.
action
Type: Rebex.Net..::..ImapFlagAction
The action to take.
flags
Type: Rebex.Net..::..ImapMessageFlags
Flags 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