EnvelopeHasSystemFlag Method
Checks if the message has a certain system flag set.

Namespace: MailBee.ImapMail
Assembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax
public bool HasSystemFlag(
	SystemMessageFlags flag
)

Parameters

flag
Type: MailBee.ImapMailSystemMessageFlags
A system flag to check.

Return Value

Type: Boolean
true if the message flags include the flag provided; otherwise, false.
Remarks
It's a helper method. Alternatively, you can easily check system flags by using logical AND operation against SystemFlags value of Flags property. E.g. if ((envelope.Flags.SystemFlags & SystemMessageFlags.Answered) > 0) would be equivalent to if (envelope.HasSystemFlag(SystemMessageFlags.Answered)) (in C# syntax).
See Also